summaryrefslogtreecommitdiff
path: root/client/mysqlshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysqlshow.c')
-rw-r--r--client/mysqlshow.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/mysqlshow.c b/client/mysqlshow.c
index f851c15106e..95ee8d697f3 100644
--- a/client/mysqlshow.c
+++ b/client/mysqlshow.c
@@ -71,8 +71,7 @@ int main(int argc, char **argv)
static char **defaults_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))
- exit(1);
+ load_defaults_or_exit("my", load_default_groups, &argc, &argv);
defaults_argv=argv;
get_options(&argc,&argv);