summaryrefslogtreecommitdiff
path: root/storage/myisam/myisamchk.c
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2018-03-15 15:34:45 +0400
committerSergey Vojtovich <svoj@mariadb.org>2018-03-16 13:26:52 +0400
commit0a534348c75cf435d2017959855de2efa798fd0b (patch)
tree48c7ee2f194ccf375877e4be7014c56e6adf8601 /storage/myisam/myisamchk.c
parent7033af9e81a69d75199faa028f8959667f755551 (diff)
downloadmariadb-git-0a534348c75cf435d2017959855de2efa798fd0b.tar.gz
MDEV-14265 - RPMLint warning: shared-lib-calls-exit
Eliminated last exit() call from libmysqld.
Diffstat (limited to 'storage/myisam/myisamchk.c')
-rw-r--r--storage/myisam/myisamchk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/myisam/myisamchk.c b/storage/myisam/myisamchk.c
index edbe235e190..dfff5720847 100644
--- a/storage/myisam/myisamchk.c
+++ b/storage/myisam/myisamchk.c
@@ -753,9 +753,7 @@ static void get_options(register int *argc,register char ***argv)
{
int ho_error;
- if (load_defaults("my", load_default_groups, argc, argv))
- exit(1);
-
+ load_defaults_or_exit("my", load_default_groups, argc, argv);
default_argv= *argv;
if (isatty(fileno(stdout)))
check_param.testflag|=T_WRITE_LOOP;