diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2016-01-22 12:46:29 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-01-22 12:46:29 -0600 |
commit | 47dd5e37cbf372df3ee0fad2c87226dce5b51587 (patch) | |
tree | cc5e485f7e30d49d96da7592928466feaef014ee /src/rc/rc.c | |
parent | e277ae57efaba3be3eb619fd00084b116c370231 (diff) |
add back deprecation warnings lost during refactoring
Diffstat (limited to 'src/rc/rc.c')
-rw-r--r-- | src/rc/rc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c index 4efa0cf9..11170b4d 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -830,6 +830,8 @@ int main(int argc, char **argv) } } + if (strcmp(applet, "rc") == 0) + ewarnv("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. |