projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d16da79
)
bootctl: add comment, explaining when verb_install() is called
author
Lennart Poettering
<lennart@poettering.net>
Thu, 17 Mar 2022 17:54:15 +0000
(18:54 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 18 Mar 2022 08:30:29 +0000
(09:30 +0100)
src/boot/bootctl.c
patch
|
blob
|
history
diff --git
a/src/boot/bootctl.c
b/src/boot/bootctl.c
index 72bdb7e6b103a2875c67b8067b9dae05626714ef..e2900291bf01fff9864d6b3e51114cb350ad1a8c 100644
(file)
--- 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 */