bootctl: add comment, explaining when verb_install() is called

This commit is contained in:
Lennart Poettering
2022-03-17 18:54:15 +01:00
parent d16da79ec0
commit 8d3e0d607e

View File

@@ -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 */