Minor boot fixes.
diff --git a/src/boot.c b/src/boot.c
index 05fb3dd..1cd4126 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -41,6 +41,7 @@
     if (!Bootorder) {
         warn_noalloc();
         free(f);
+        BootorderCount = 0;
         return;
     }