summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-09-23 12:40:26 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-09-23 12:40:26 -0500
commit0ba14ae7205a4e6a8acc23a62a95f6c6ad8b591f (patch)
tree8c70bb43cdd4b301a3e163f4939a741932423332
parent7716bf31de5030b761613834e11e4e62f36403a5 (diff)
downloadopenrc-0ba14ae7205a4e6a8acc23a62a95f6c6ad8b591f.tar.gz
openrc-0ba14ae7205a4e6a8acc23a62a95f6c6ad8b591f.tar.bz2
openrc-0ba14ae7205a4e6a8acc23a62a95f6c6ad8b591f.tar.xz
style fixes
-rw-r--r--src/rc/rc-status.c6
-rw-r--r--src/rc/rc.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c
index d14dd63..e38ce11 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 0c98372..c1c1629 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);
}