diff options
author | petr@mysql.com <> | 2005-02-13 15:13:33 +0300 |
---|---|---|
committer | petr@mysql.com <> | 2005-02-13 15:13:33 +0300 |
commit | bb8e5b6227ef83b67fd9a786bd32768231d42bdb (patch) | |
tree | 0416b3a77d516d448dfd5239dadc5bf9e7583bcc /server-tools/instance-manager/manager.cc | |
parent | 6b50b5b087d83c28058f9adee099bcb761142b7a (diff) | |
download | mariadb-git-bb8e5b6227ef83b67fd9a786bd32768231d42bdb.tar.gz |
various fixes
Diffstat (limited to 'server-tools/instance-manager/manager.cc')
-rw-r--r-- | server-tools/instance-manager/manager.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/server-tools/instance-manager/manager.cc b/server-tools/instance-manager/manager.cc index af8dac47dca..87ad938615f 100644 --- a/server-tools/instance-manager/manager.cc +++ b/server-tools/instance-manager/manager.cc @@ -171,7 +171,14 @@ void manager(const Options &options) while (!shutdown_complete) { - sigwait(&mask, &signo); + int status= 0; + + if (status= my_sigwait(&mask, &signo)) + { + log_error("sigwait() failed"); + goto err; + } + switch (signo) { case THR_SERVER_ALARM: |