git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/bin/sqlbackup
diff options
context:
space:
mode:
authormail_redacted_for_web 2020-04-03 16:53:54 +0200
committermail_redacted_for_web 2020-04-03 16:53:54 +0200
commitc9fabd2b3f14cbbdb3453430fa022996407aa846 (patch)
tree562e26a9f568f6f704c6518bfa3f631330cd5d8b /bin/sqlbackup
parentc192aa515ced84592f4296e7e6da9909d6c7433f (diff)
downloadrhel-scripts-c9fabd2b3f14cbbdb3453430fa022996407aa846.tar.bz2
removing debug "exit 0" ( ͡° ͜ʖ ͡°)
Diffstat (limited to 'bin/sqlbackup')
-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"
a id='n145' href='#n145'>145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222