From: Lennart Poettering Date: Wed, 6 Mar 2019 18:23:38 +0000 (+0100) Subject: systemctl: drop unnecessary {} X-Git-Tag: v242-rc1~131^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aee7082fbd4ac7b2a63e21a2906eb8f91aac779e;p=thirdparty%2Fsystemd.git systemctl: drop unnecessary {} --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index a88dd839298..e48d34c4d7d 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -8046,9 +8046,9 @@ static int systemctl_parse_argv(int argc, char *argv[]) { break; } - case 'p': { - /* Make sure that if the empty property list - was specified, we won't show any properties. */ + case 'p': + /* Make sure that if the empty property list was specified, we won't show any + properties. */ if (isempty(optarg) && !arg_properties) { arg_properties = new0(char*, 1); if (!arg_properties) @@ -8078,7 +8078,6 @@ static int systemctl_parse_argv(int argc, char *argv[]) { arg_all = true; break; - } case 'a': arg_all = true;