aboutsummaryrefslogtreecommitdiff
path: root/src/openrc-run/openrc-run.c
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2023-11-15 10:04:46 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2023-11-15 10:04:46 -0600
commit59a175541d3edf0badd04d9e2d23ea84553e210c (patch)
treef2d31c1abcffc9191e705b9ef2575ec833d0377e /src/openrc-run/openrc-run.c
parent65b13eb86faba812aaef94623b84dfc3bdeca6c7 (diff)
remove warning for runscript deprecation
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) {