mirror of
https://github.com/oasislinux/oasis.git
synced 2026-05-28 00:20:43 +02:00
applyperms: Add some context to posix_spawnp error
This commit is contained in:
+1
-1
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user