1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00

homectl: add missing break

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

View File

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