diff options
Diffstat (limited to 'booki.c')
| -rw-r--r-- | booki.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1050,7 +1050,7 @@ void help(bool err) { /*** the main event ***/ int main(int argc, char* argv[]) { char* booki_file = getenv("BOOKI_FILE"); - if (!booki_file) { + if (!booki_file || strlen(booki_file) == 0) { printf("expecting BOOKI_FILE variable\n"); return 1; } |
