projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ee051b
)
bootctl: don't try to remove esp_path (#4407)
author
Evgeny Vereshchagin
<evvers@ya.ru>
Wed, 19 Oct 2016 19:15:20 +0000
(22:15 +0300)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 19 Oct 2016 19:15:20 +0000
(21:15 +0200)
This is a follow-up for
9ee051b9c7623
src/boot/bootctl.c
patch
|
blob
|
history
diff --git
a/src/boot/bootctl.c
b/src/boot/bootctl.c
index
13cf7e9
..
dc11b0d
100644
(file)
--- a/
src/boot/bootctl.c
+++ b/
src/boot/bootctl.c
@@
-918,7
+918,7
@@
static int remove_binaries(const char *esp_path) {
if (q < 0 && r == 0)
r = q;
- for (i = ELEMENTSOF(efi_subdirs); i > 0; i--) {
+ for (i = ELEMENTSOF(efi_subdirs)
-1
; i > 0; i--) {
q = rmdir_one(esp_path, efi_subdirs[i-1]);
if (q < 0 && r == 0)
r = q;