summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2016-10-19 20:50:47 +0900
committerEvgeny Vereshchagin <evvers@ya.ru>2016-10-19 14:50:47 +0300
commit9ee051b9c7623e148bf0d768cc2677aecf283fc8 (patch)
tree7fdcd0e80ad26d059147b6d26030f2724a3b8541
parent70fd2125c358f67b7de00afcf4148b855cc775c2 (diff)
boot: fix `bootctl install` segfault (#4404)
-rw-r--r--src/boot/bootctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index ee6d7eb864..13cf7e94f0 100644
--- a/src/boot/bootctl.c
+++ b/src/boot/bootctl.c
@@ -621,7 +621,8 @@ static const char *efi_subdirs[] = {
"EFI/systemd",
"EFI/BOOT",
"loader",
- "loader/entries"
+ "loader/entries",
+ NULL
};
static int create_dirs(const char *esp_path) {