[systemd-devel] [PATCH 2/2] systemctl: remove erroneous return in runlevel_parse_argv()

Maciej Wereski m.wereski at partner.samsung.com
Wed Feb 19 02:39:01 PST 2014


---
 src/systemctl/systemctl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index ef0cbc5..e529095 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -5879,7 +5879,6 @@ static int runlevel_parse_argv(int argc, char *argv[]) {
 
                 case ARG_HELP:
                         return runlevel_help();
-                        return 0;
 
                 case '?':
                         return -EINVAL;
-- 
1.9.0



More information about the systemd-devel mailing list