yes should be YES

This commit is contained in:
Roy Marples 2009-01-13 11:04:37 +00:00
parent abcc4c5c72
commit 5208a1de29
2 changed files with 2 additions and 2 deletions

View File

@ -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);
} }
} }

View File

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