diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 72bdb7e6b1..e2900291bf 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -1932,6 +1932,8 @@ static int verb_install(int argc, char *argv[], void *userdata) { bool install, graceful; int r; + /* Invoked for both "update" and "install" */ + install = streq(argv[0], "install"); graceful = !install && arg_graceful; /* support graceful mode for updates */