add back deprecation warnings lost during refactoring

This commit is contained in:
William Hubbs
2016-01-22 12:46:29 -06:00
parent e277ae57ef
commit 47dd5e37cb
2 changed files with 6 additions and 0 deletions

View File

@ -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.