]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl: add comment, explaining when verb_install() is called 22784/head
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Mar 2022 17:54:15 +0000 (18:54 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Mar 2022 08:30:29 +0000 (09:30 +0100)
src/boot/bootctl.c

index 72bdb7e6b103a2875c67b8067b9dae05626714ef..e2900291bf01fff9864d6b3e51114cb350ad1a8c 100644 (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 */