aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorElijah Saxon <elijah@riseup.net>2005-07-08 19:28:16 +0000
committerElijah Saxon <elijah@riseup.net>2005-07-08 19:28:16 +0000
commit7a145f8dd6934ddd05e4acceaf72a4c1ab43a259 (patch)
tree648ebf2256f7f0fc48e568061bfc4f710e2fda20 /handlers
parent67b5cf70d7a48bf9333e448b0d1ca53aacc252ea (diff)
downloadbackupninja-7a145f8dd6934ddd05e4acceaf72a4c1ab43a259.tar.gz
backupninja-7a145f8dd6934ddd05e4acceaf72a4c1ab43a259.tar.bz2
added cancel
Diffstat (limited to 'handlers')
-rw-r--r--handlers/mysql.helper4
1 files changed, 4 insertions, 0 deletions
diff --git a/handlers/mysql.helper b/handlers/mysql.helper
index 759ee26..fc65359 100644
--- a/handlers/mysql.helper
+++ b/handlers/mysql.helper
@@ -2,13 +2,16 @@ HELPERS="$HELPERS mysql:mysql_database_backup"
do_mysql_user() {
inputBox "mysql action wizard" "specify a system user:"
+ [ $? = 1 ] && return
do_mysql_final "user = $REPLY"
}
do_mysql_password() {
inputBox "mysql action wizard" "specify a mysql user:"
+ [ $? = 1 ] && return
user=$REPLY
inputBox "mysql action wizard" "specify the mysql user's password:"
+ [ $? = 1 ] && return
password=$REPLY
do_mysql_final "dbusername = $user\ndbpassword = $password"
}
@@ -20,6 +23,7 @@ do_mysql_debian() {
do_mysql_user() {
inputBox "mysql action wizard" "what system user does mysql backup use?"
+ [ $? = 1 ] && return
do_mysql_final "user = $REPLY"
}