aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb/su.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-09-23 22:45:06 -0500
committerRob Landley <rob@landley.net>2015-09-23 22:45:06 -0500
commit0593b32337b48d60a521922e2355c78750e635d2 (patch)
treec81381f7ac7b5fad76eef1c094021f32f470200c /toys/lsb/su.c
parent847bcb63b541e4fbbfa3dccfe3022745cbe9a06a (diff)
downloadtoybox-0593b32337b48d60a521922e2355c78750e635d2.tar.gz
xexec() is noreturn.
Diffstat (limited to 'toys/lsb/su.c')
-rw-r--r--toys/lsb/su.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/toys/lsb/su.c b/toys/lsb/su.c
index 612daef1..7ab24876 100644
--- a/toys/lsb/su.c
+++ b/toys/lsb/su.c
@@ -92,7 +92,6 @@ void su_main()
}
while ((*(argv++) = *(toys.optargs++)));
xexec(argu);
- perror_exit("can't exec %s", *argu);
deny:
puts("No.");