git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"