aboutsummaryrefslogtreecommitdiff
path: root/src/openrc-run/openrc-run.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/openrc-run/openrc-run.c')
-rw-r--r--src/openrc-run/openrc-run.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/openrc-run/openrc-run.c b/src/openrc-run/openrc-run.c
index 6b28a809..7c5d50a1 100644
--- a/src/openrc-run/openrc-run.c
+++ b/src/openrc-run/openrc-run.c
@@ -1097,7 +1097,6 @@ service_plugable(void)
int main(int argc, char **argv)
{
bool doneone = false;
- bool runscript = false;
int retval, opt, depoptions = RC_DEP_TRACE;
RC_STRING *svc;
char *path = NULL;
@@ -1115,8 +1114,6 @@ int main(int argc, char **argv)
}
applet = basename_c(argv[0]);
- if (strcmp(applet, "runscript") == 0)
- runscript = true;
if (stat(argv[1], &stbuf) != 0) {
fprintf(stderr, "openrc-run `%s': %s\n",
@@ -1289,9 +1286,6 @@ int main(int argc, char **argv)
applet_list = rc_stringlist_new();
rc_stringlist_add(applet_list, applet);
- if (runscript)
- ewarn("%s uses runscript, please convert to openrc-run.", service);
-
/* Now run each option */
retval = EXIT_SUCCESS;
while (optind < argc) {