aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/rc.c2
-rw-r--r--src/rc/runscript.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c
index a7a7b8d8..04c57337 100644
--- a/src/rc/rc.c
+++ b/src/rc/rc.c
@@ -848,7 +848,7 @@ main(int argc, char **argv)
if (newlevel) {
if (strcmp(newlevel, "reboot") == 0) {
newlevel = UNCONST(RC_LEVEL_SHUTDOWN);
- setenv("RC_REBOOT", "yes", 1);
+ setenv("RC_REBOOT", "YES", 1);
}
}
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index b7e9f352..d1215841 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -1289,7 +1289,7 @@ runscript(int argc, char **argv)
longopts, (int *)0)) != -1)
switch (opt) {
case 'd':
- setenv("RC_DEBUG", "yes", 1);
+ setenv("RC_DEBUG", "YES", 1);
break;
case 's':
if (!(rc_service_state(service) & RC_SERVICE_STARTED))