From aee7082fbd4ac7b2a63e21a2906eb8f91aac779e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 6 Mar 2019 19:23:38 +0100 Subject: [PATCH] systemctl: drop unnecessary {} --- src/systemctl/systemctl.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; -- 2.47.3