From: Lennart Poettering Date: Thu, 17 Mar 2022 17:44:14 +0000 (+0100) Subject: bootctl: fix typo X-Git-Tag: v251-rc1~103^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c2b6177031f665f2117b8683a5d1a067b05ad7d;p=thirdparty%2Fsystemd.git bootctl: fix typo --- diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 2035fa0d256..86b4d7fd149 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -2044,7 +2044,7 @@ static int verb_remove(int argc, char *argv[], void *userdata) { q = remove_entry_directory(arg_esp_path); if (q < 0 && r >= 0) - r = 1; + r = q; if (arg_xbootldr_path) { /* Remove the latter two also in the XBOOTLDR partition if it exists */