diff --git a/mysqlbackup.sh b/mysqlbackup.sh index 94f3613..82492c0 100644 --- a/mysqlbackup.sh +++ b/mysqlbackup.sh @@ -5,6 +5,9 @@ set -euo pipefail +unset LD_LIBRARY_PATH +unset LD_PRELOAD + DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" source "${DIR}/functions.sh" diff --git a/mysqlfreeze.sh b/mysqlfreeze.sh index 5d7c42a..d9ab7ad 100755 --- a/mysqlfreeze.sh +++ b/mysqlfreeze.sh @@ -5,6 +5,9 @@ set -euo pipefail +unset LD_LIBRARY_PATH +unset LD_PRELOAD + DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" source "${DIR}/functions.sh" @@ -63,4 +66,4 @@ while [ ! -f "$LOGGING_LOCATION/$FREEZE_LOCKFILE" ]; do done echo $FREEZE_SESSION_PID > "$LOGGING_LOCATION/$FREEZE_LOCKFILE" -echo "$(date -Ins) - Freeze successful." >> "$LOGGING_LOCATION/$FREEZE_LOGFILE" \ No newline at end of file +echo "$(date -Ins) - Freeze successful." >> "$LOGGING_LOCATION/$FREEZE_LOGFILE" diff --git a/mysqlthaw.sh b/mysqlthaw.sh index defa7b0..f78ac1f 100644 --- a/mysqlthaw.sh +++ b/mysqlthaw.sh @@ -5,6 +5,9 @@ set -euo pipefail +unset LD_LIBRARY_PATH +unset LD_PRELOAD + DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" source "${DIR}/functions.sh" @@ -24,4 +27,4 @@ pkill -9 -P $FREEZE_SESSION_PID echo "$(date -Ins) - Deleting freeze lock file..." >> "$LOGGING_LOCATION/$FREEZE_LOGFILE" rm -f "$LOGGING_LOCATION/$FREEZE_LOCKFILE" -echo "$(date -Ins) - Unfreeze successful." >> "$LOGGING_LOCATION/$FREEZE_LOGFILE" \ No newline at end of file +echo "$(date -Ins) - Unfreeze successful." >> "$LOGGING_LOCATION/$FREEZE_LOGFILE"