From 59a175541d3edf0badd04d9e2d23ea84553e210c Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 15 Nov 2023 10:04:46 -0600 Subject: remove warning for runscript deprecation --- src/openrc-run/openrc-run.c | 6 ------ 1 file changed, 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) { -- cgit v1.2.3