1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-18 06:03:42 +03:00

homectl: add missing break

(cherry picked from commit 464ec1dec741e31d7bf08a4b7bb5a64a6adbb81d)
(cherry picked from commit eae11e3f064372ec30efe460381ce807238daa82)
(cherry picked from commit 8af5e945c7d489e7cf4c1dd29612e5452122b754)
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);