diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2016-05-24 11:24:10 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-05-24 11:24:10 -0500 |
commit | 87884db66767eba6317b506a4d7270dd22721831 (patch) | |
tree | 8eb00ee503623590698c6e6070cbf59209170ec5 | |
parent | 94077d264e14783e6ca5603d64e9d579fb206c20 (diff) |
Make deprecation warnings for rc and runscript more visible
These warnings were inserted in verbose only mode in OpenRC-0.13.A
Now, we are making them more visible in preparation for removing these
compatibility binaries in the future.
-rw-r--r-- | src/rc/openrc-run.c | 2 | ||||
-rw-r--r-- | src/rc/rc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/openrc-run.c b/src/rc/openrc-run.c index dfb4c6fe..275cb320 100644 --- a/src/rc/openrc-run.c +++ b/src/rc/openrc-run.c @@ -1174,7 +1174,7 @@ int main(int argc, char **argv) usage(EXIT_FAILURE); if (runscript) - ewarnv("%s uses runscript, please convert to openrc-run.", service); + ewarn("%s uses runscript, please convert to openrc-run.", service); /* Change dir to / to ensure all init scripts don't use stuff in pwd */ if (chdir("/") == -1) diff --git a/src/rc/rc.c b/src/rc/rc.c index 11170b4d..ed06bf76 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -831,7 +831,7 @@ int main(int argc, char **argv) } if (strcmp(applet, "rc") == 0) - ewarnv("rc is deprecated, please use openrc instead."); + ewarn("rc is deprecated, please use openrc instead."); newlevel = argv[optind++]; /* To make life easier, we only have the shutdown runlevel as * nothing really needs to know that we're rebooting. |