aboutsummaryrefslogtreecommitdiff
path: root/selinux/runcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/runcon.c')
-rw-r--r--selinux/runcon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c
index a3543878c..9f61fdbb6 100644
--- a/selinux/runcon.c
+++ b/selinux/runcon.c
@@ -110,7 +110,7 @@ int runcon_main(int argc, char **argv)
if (!(opts & OPTS_CONTEXT_COMPONENT)) {
context = *argv++;
if (!argv[0])
- bb_error_msg_and_die("no command found");
+ bb_error_msg_and_die("no command given");
}
if (context) {
@@ -133,5 +133,4 @@ int runcon_main(int argc, char **argv)
execvp(argv[0], argv);
bb_perror_msg_and_die("cannot execute '%s'", argv[0]);
- return 1;
}