aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'selinux')
-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)
110 if (!(opts & OPTS_CONTEXT_COMPONENT)) { 110 if (!(opts & OPTS_CONTEXT_COMPONENT)) {
111 context = *argv++; 111 context = *argv++;
112 if (!argv[0]) 112 if (!argv[0])
113 bb_error_msg_and_die("no command found"); 113 bb_error_msg_and_die("no command given");
114 } 114 }
115 115
116 if (context) { 116 if (context) {
@@ -133,5 +133,4 @@ int runcon_main(int argc, char **argv)
133 execvp(argv[0], argv); 133 execvp(argv[0], argv);
134 134
135 bb_perror_msg_and_die("cannot execute '%s'", argv[0]); 135 bb_perror_msg_and_die("cannot execute '%s'", argv[0]);
136 return 1;
137} 136}