1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

homectl: add missing break

(cherry picked from commit 464ec1dec7)
This commit is contained in:
Lennart Poettering 2023-02-17 22:24:10 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 9024afb994
commit eae11e3f06

View File

@ -3638,6 +3638,7 @@ static int parse_argv(int argc, char *argv[]) {
r = drop_from_identity("rebalanceWeight"); r = drop_from_identity("rebalanceWeight");
if (r < 0) if (r < 0)
return r; return r;
break;
} }
if (streq(optarg, "off")) if (streq(optarg, "off"))
@ -3720,6 +3721,7 @@ static int parse_argv(int argc, char *argv[]) {
r = drop_from_identity("dropCaches"); r = drop_from_identity("dropCaches");
if (r < 0) if (r < 0)
return r; return r;
break;
} }
r = parse_boolean_argument("--drop-caches=", optarg, &drop_caches); r = parse_boolean_argument("--drop-caches=", optarg, &drop_caches);