summaryrefslogtreecommitdiff
path: root/client/mysqlimport.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysqlimport.c')
-rw-r--r--client/mysqlimport.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/mysqlimport.c b/client/mysqlimport.c
index 84bed92bbd4..c7432992d45 100644
--- a/client/mysqlimport.c
+++ b/client/mysqlimport.c
@@ -643,8 +643,7 @@ int main(int argc, char **argv)
MY_INIT(argv[0]);
sf_leaking_memory=1; /* don't report memory leaks on early exits */
- if (load_defaults("my",load_default_groups,&argc,&argv))
- return 1;
+ load_defaults_or_exit("my", load_default_groups, &argc, &argv);
/* argv is changed in the program */
argv_to_free= argv;
if (get_options(&argc, &argv))