diff options
| author | Michael Forney <mforney@mforney.org> | 2020-08-17 02:46:21 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-08-17 02:46:21 -0700 |
| commit | 465d5dedb2819f0a8a782854b140fdfddfefdee8 (patch) | |
| tree | 9e7ce0273fad5a1f0cec47d2279f2e10e7ce310d | |
| parent | 8f040a0f002da3c0efd753c40012c30da8555df3 (diff) | |
applyperms: Add some context to posix_spawnp error
| -rw-r--r-- | src/applyperms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/applyperms.c b/src/applyperms.c index ac3a5760..8e446d39 100644 --- a/src/applyperms.c +++ b/src/applyperms.c @@ -100,7 +100,7 @@ spawn(char **argv, pid_t *pid) if ((errno = posix_spawn_file_actions_adddup2(&actions, fd[1], 1)) > 0) die("posix_spawn_file_actions_adddup2:"); if ((errno = posix_spawnp(pid, argv[0], &actions, NULL, argv, environ)) > 0) - die("posix_spawnp:"); + die("posix_spawnp %s:", argv[0]); posix_spawn_file_actions_destroy(&actions); close(fd[1]); |
