summaryrefslogtreecommitdiffstats
path: root/sys-utils/unshare.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/unshare.c')
-rw-r--r--sys-utils/unshare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/unshare.c b/sys-utils/unshare.c
index f26b148f7..161cd27b9 100644
--- a/sys-utils/unshare.c
+++ b/sys-utils/unshare.c
@@ -475,7 +475,7 @@ int main(int argc, char *argv[])
if (optind < argc) {
execvp(argv[optind], argv + optind);
- err(EXIT_FAILURE, _("failed to execute %s"), argv[optind]);
+ errexec(argv[optind]);
}
exec_shell();
}