summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 9bea7c73ef4..21f46379522 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -319,6 +319,7 @@ int main(int argc,char *argv[])
if (!status.batch)
ignore_errors=1; // Don't abort monitor
signal(SIGINT, mysql_end); // Catch SIGINT to clean up
+ signal(SIGQUIT, mysql_end); // Catch SIGQUIT to clean up
/*
** Run in interactive mode like the ingres/postgres monitor