diff options
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r-- | src/DabMux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp index 2ef28c9..5fb9c17 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -330,7 +330,7 @@ int main(int argc, char *argv[]) bool MNSC_increment_time = false; - if (strncmp(argv[1], "-e", 2) == 0) { // use external config file + if (argc > 1 && strncmp(argv[1], "-e", 2) == 0) { // use external config file try { if (argc != 3) { |