boot: fix `bootctl install` segfault (#4404)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 19 Oct 2016 11:50:47 +0000 (20:50 +0900)
committerEvgeny Vereshchagin <evvers@ya.ru>
Wed, 19 Oct 2016 11:50:47 +0000 (14:50 +0300)
src/boot/bootctl.c

index ee6d7eb..13cf7e9 100644 (file)
@@ -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) {