summaryrefslogtreecommitdiffstats
path: root/lib/exec_shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/exec_shell.c')
-rw-r--r--lib/exec_shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exec_shell.c b/lib/exec_shell.c
index b2f178add..49b7df5bf 100644
--- a/lib/exec_shell.c
+++ b/lib/exec_shell.c
@@ -46,5 +46,5 @@ void __attribute__((__noreturn__)) exec_shell(void)
strcpy(arg0 + 1, shell_basename);
execl(shell, arg0, NULL);
- err(EXIT_FAILURE, _("failed to execute %s"), shell);
+ errexec(shell);
}