aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-21 20:40:51 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-21 20:40:51 +0000
commitf9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f (patch)
treeb341f97661b629cc112ebe09933c044ebb31a6f7 /selinux
parent950bd729665cecf1fbee65bc6e57e087c93aaab6 (diff)
downloadbusybox-w32-f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f.tar.gz
busybox-w32-f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f.tar.bz2
busybox-w32-f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f.zip
switch_root: improve behavior on error; improve help text
*: make "can't execute '%s'" message uniform
Diffstat (limited to 'selinux')
-rw-r--r--selinux/runcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c
index e94ff1454..6ecd7899d 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -129,10 +129,10 @@ int runcon_main(int argc UNUSED_PARAM, char **argv)
129 context_str(con)); 129 context_str(con));
130 130
131 if (setexeccon(context_str(con))) 131 if (setexeccon(context_str(con)))
132 bb_error_msg_and_die("cannot set up security context '%s'", 132 bb_error_msg_and_die("can't set up security context '%s'",
133 context_str(con)); 133 context_str(con));
134 134
135 execvp(argv[0], argv); 135 execvp(argv[0], argv);
136 136
137 bb_perror_msg_and_die("cannot execute '%s'", argv[0]); 137 bb_perror_msg_and_die("can't execute '%s'", argv[0]);
138} 138}