Show rc and runscript deprecation warnings in verbose mode
These messages are being changed for this release to show in verbose mode because of the number of times they display.
This commit is contained in:
parent
7b744befac
commit
d1e71b07af
@ -539,7 +539,7 @@ run_applets(int argc, char **argv)
|
|||||||
* "openrc", so output a warning.
|
* "openrc", so output a warning.
|
||||||
*/
|
*/
|
||||||
if (strcmp(applet, "rc") == 0)
|
if (strcmp(applet, "rc") == 0)
|
||||||
ewarn("The 'rc' applet is deprecated; please use 'openrc' instead.");
|
ewarnv("The 'rc' applet is deprecated; please use 'openrc' instead.");
|
||||||
/* Bug 351712: We need an extra way to explicitly select an applet OTHER
|
/* Bug 351712: We need an extra way to explicitly select an applet OTHER
|
||||||
* than trusting argv[0], as argv[0] is not going to be the applet value if
|
* than trusting argv[0], as argv[0] is not going to be the applet value if
|
||||||
* we are doing SELinux context switching. For this, we allow calls such as
|
* we are doing SELinux context switching. For this, we allow calls such as
|
||||||
|
@ -1389,6 +1389,6 @@ openrc_run(int argc, char **argv)
|
|||||||
int
|
int
|
||||||
runscript(int argc, char **argv)
|
runscript(int argc, char **argv)
|
||||||
{
|
{
|
||||||
ewarn("runscript is deprecated; please use openrc-run instead.");
|
ewarnv("runscript is deprecated; please use openrc-run instead.");
|
||||||
return (openrc_run(argc, argv));
|
return (openrc_run(argc, argv));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user