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

This commit is contained in:
Lennart Poettering
2022-03-18 09:30:29 +01:00
parent d16da79ec0
commit 8d3e0d607e
+2
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 */