yes should be YES
This commit is contained in:
parent
abcc4c5c72
commit
5208a1de29
@ -848,7 +848,7 @@ main(int argc, char **argv)
|
|||||||
if (newlevel) {
|
if (newlevel) {
|
||||||
if (strcmp(newlevel, "reboot") == 0) {
|
if (strcmp(newlevel, "reboot") == 0) {
|
||||||
newlevel = UNCONST(RC_LEVEL_SHUTDOWN);
|
newlevel = UNCONST(RC_LEVEL_SHUTDOWN);
|
||||||
setenv("RC_REBOOT", "yes", 1);
|
setenv("RC_REBOOT", "YES", 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1289,7 +1289,7 @@ runscript(int argc, char **argv)
|
|||||||
longopts, (int *)0)) != -1)
|
longopts, (int *)0)) != -1)
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
case 'd':
|
case 'd':
|
||||||
setenv("RC_DEBUG", "yes", 1);
|
setenv("RC_DEBUG", "YES", 1);
|
||||||
break;
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
if (!(rc_service_state(service) & RC_SERVICE_STARTED))
|
if (!(rc_service_state(service) & RC_SERVICE_STARTED))
|
||||||
|
Loading…
Reference in New Issue
Block a user