diff options
author | mail_redacted_for_web | 2020-04-03 16:53:54 +0200 |
---|---|---|
committer | mail_redacted_for_web | 2020-04-03 16:53:54 +0200 |
commit | c9fabd2b3f14cbbdb3453430fa022996407aa846 (patch) | |
tree | 562e26a9f568f6f704c6518bfa3f631330cd5d8b | |
parent | c192aa515ced84592f4296e7e6da9909d6c7433f (diff) | |
download | rhel-scripts-c9fabd2b3f14cbbdb3453430fa022996407aa846.tar.bz2 |
removing debug "exit 0" ( ͡° ͜ʖ ͡°)
-rwxr-xr-x | bin/sqlbackup | 1 |
1 files changed, 0 insertions, 1 deletions
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" |