diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2018-03-15 15:34:45 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2018-03-16 13:26:52 +0400 |
commit | 0a534348c75cf435d2017959855de2efa798fd0b (patch) | |
tree | 48c7ee2f194ccf375877e4be7014c56e6adf8601 /mysys/my_default.c | |
parent | 7033af9e81a69d75199faa028f8959667f755551 (diff) | |
download | mariadb-git-0a534348c75cf435d2017959855de2efa798fd0b.tar.gz |
MDEV-14265 - RPMLint warning: shared-lib-calls-exit
Eliminated last exit() call from libmysqld.
Diffstat (limited to 'mysys/my_default.c')
-rw-r--r-- | mysys/my_default.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_default.c b/mysys/my_default.c index 2358aed8f3b..9209c6869fc 100644 --- a/mysys/my_default.c +++ b/mysys/my_default.c @@ -631,7 +631,7 @@ int my_load_defaults(const char *conf_file, const char **groups, if (!my_getopt_is_args_separator((*argv)[i])) /* skip arguments separator */ printf("%s ", (*argv)[i]); puts(""); - exit(0); + DBUG_RETURN(4); } if (default_directories) @@ -641,7 +641,7 @@ int my_load_defaults(const char *conf_file, const char **groups, err: fprintf(stderr,"Fatal error in defaults handling. Program aborted\n"); - return 2; + DBUG_RETURN(2); } |