git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/sqlbackup3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/sqlbackup b/bin/sqlbackup
index 018d700..45513d0 100755
--- a/bin/sqlbackup
+++ b/bin/sqlbackup
@@ -42,7 +42,6 @@ function bkillme {
exit 130
}
trap bkillme SIGINT
-trap bkillme SIGKILL
trap bkillme SIGTERM
trap bstatus USR1
@@ -173,7 +172,7 @@ BINLOGF="$(basename "$BINLOGF")"
DBARR=( $(mysql -u "$BUSER" --password="$(cat $PWFL)" -e "show databases \\G"|grep ^Data|awk '{print $NF}'|grep -vP "$NODB") )
j=1
[ "$SCHANAUZE" -ne 1 ]&&printf "\nDatabases being backed up\n======================\n"
-[ "$SCHANAUZE" -ne 1 ]&&for i in ${DBARR[@]};do
+[ "$SCHANAUZE" -ne 1 ]&&for i in "${DBARR[@]}";do
echo -n "$i"
case "$(( j % 3 ))" in
0) echo " " ;;