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

Lennart Poettering lennart at poettering.net
Wed Feb 19 07:24:38 PST 2014


On Wed, 19.02.14 11:39, Maciej Wereski (m.wereski at partner.samsung.com) wrote:

Thanks! Applied both!

> ---
>  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;


Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list