logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 465d5dedb2819f0a8a782854b140fdfddfefdee8
parent 8f040a0f002da3c0efd753c40012c30da8555df3
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 17 Aug 2020 02:46:21 -0700

applyperms: Add some context to posix_spawnp error

Diffstat:

Msrc/applyperms.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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]);