From 8af5e945c7d489e7cf4c1dd29612e5452122b754 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 17 Feb 2023 22:24:10 +0100 Subject: [PATCH] homectl: add missing break (cherry picked from commit 464ec1dec741e31d7bf08a4b7bb5a64a6adbb81d) (cherry picked from commit eae11e3f064372ec30efe460381ce807238daa82) --- src/home/homectl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/home/homectl.c b/src/home/homectl.c index 87a1c6883f..9934e63466 100644 --- a/src/home/homectl.c +++ b/src/home/homectl.c @@ -3653,6 +3653,7 @@ static int parse_argv(int argc, char *argv[]) { r = drop_from_identity("rebalanceWeight"); if (r < 0) return r; + break; } if (streq(optarg, "off")) @@ -3735,6 +3736,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);