diff options
-rw-r--r-- | src/firejail/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 11258892e..cabea05f3 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -852,7 +852,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
852 | arg_overlay_reuse = 1; | 852 | arg_overlay_reuse = 1; |
853 | 853 | ||
854 | char *subdirname = ptr + 14; | 854 | char *subdirname = ptr + 14; |
855 | if (subdirname == '\0') { | 855 | if (*subdirname == '\0') { |
856 | fprintf(stderr, "Error: invalid overlay option\n"); | 856 | fprintf(stderr, "Error: invalid overlay option\n"); |
857 | exit(1); | 857 | exit(1); |
858 | } | 858 | } |