From c9fabd2b3f14cbbdb3453430fa022996407aa846 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Fri, 3 Apr 2020 16:53:54 +0200 Subject: removing debug "exit 0" ( ͡° ͜ʖ ͡°) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/sqlbackup | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/sqlbackup b/bin/sqlbackup index e98ea03..0dca6c6 100755 --- a/bin/sqlbackup +++ b/bin/sqlbackup @@ -155,7 +155,6 @@ if [ "$?" -ne 0 ];then else [ "$SCHANAUZE" -ne 1 ]&&printf "%b\n\n" "$OGE" fi -exit 0 LOGPOS="$(mysql --user="$BUSER" --password="$(cat $PWFL)" -e "show master status \G"|grep Position|awk '{print $NF}')" [ "$SCHANAUZE" -ne 1 ]&&printf "Log position: %s\n" "$LOGPOS" printf "Log position: %s\n" "$LOGPOS" >> "$BLOG" -- cgit v1.2.3