diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c index aba192f0..d0492168 100644 --- a/src/rc/rc-status.c +++ b/src/rc/rc-status.c @@ -353,7 +353,7 @@ rc_status(int argc, char **argv) l->value = p; /* we are unsetting RC_SVCNAME because last loaded service wount be added to list */ - unsetenv(RC_SVCNAME); + unsetenv("RC_SVCNAME"); print_level("Dynamic", "needed"); print_services(NULL, nservices); print_level("Dynamic", "manual");