summaryrefslogtreecommitdiffstats
path: root/apps/srp.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/srp.c')
-rw-r--r--apps/srp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/srp.c b/apps/srp.c
index 48ef85ded3..14f837f360 100644
--- a/apps/srp.c
+++ b/apps/srp.c
@@ -359,7 +359,7 @@ int srp_main(int argc, char **argv)
conf = app_load_config(configfile);
if (conf == NULL)
goto end;
- if (!app_load_modules(conf))
+ if (configfile != default_config_file && !app_load_modules(conf))
goto end;
/* Lets get the config section we are using */