diff options
-rw-r--r-- | src/rc/rc-status.c | 6 | ||||
-rw-r--r-- | src/rc/rc.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c index d14dd63a..e38ce11b 100644 --- a/src/rc/rc-status.c +++ b/src/rc/rc-status.c @@ -360,8 +360,10 @@ rc_status(int argc, char **argv) } } l->value = p; - /* we are unsetting RC_SVCNAME because last loaded service - wount be added to list */ + /* + * we are unsetting RC_SVCNAME because last loaded service will not + * be added to the list + */ unsetenv("RC_SVCNAME"); print_level("Dynamic", "needed"); print_services(NULL, nservices); diff --git a/src/rc/rc.c b/src/rc/rc.c index 0c983721..c1c1629a 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -1115,7 +1115,7 @@ main(int argc, char **argv) /* Wait for our services to finish */ wait_for_services(); - + /* Free the list of services, we're done with it. */ rc_stringlist_free(run_services); } |