git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Pfeiffer <coding _ lirion.de> 2020-04-03 16:53:54 +0200
committerHarald Pfeiffer <coding _ lirion.de> 2020-04-03 16:53:54 +0200
commitc9fabd2b3f14cbbdb3453430fa022996407aa846 (patch)
tree562e26a9f568f6f704c6518bfa3f631330cd5d8b
parentc192aa515ced84592f4296e7e6da9909d6c7433f (diff)
downloadrhel-scripts-c9fabd2b3f14cbbdb3453430fa022996407aa846.tar.bz2
removing debug "exit 0" ( ͡° ͜ʖ ͡°)
-rwxr-xr-xbin/sqlbackup1
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"