diff options
Diffstat (limited to 'apps/ts.c')
-rw-r--r-- | apps/ts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/ts.c b/apps/ts.c index 930c1daaab6d..44a8f75d4a37 100644 --- a/apps/ts.c +++ b/apps/ts.c @@ -282,7 +282,8 @@ int ts_main(int argc, char **argv) goto end; } - conf = load_config_file(configfile); + if ((conf = load_config_file(configfile)) == NULL) + goto end; if (configfile != default_config_file && !app_load_modules(conf)) goto end; |