Skip to content

Commit 6b637cd

Browse files
authored
Merge pull request #3 from GOCDB/no_set_eu
Remove set -/+eu from getDump.sh
2 parents 49dcbfe + 2ee30c5 commit 6b637cd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

importDBdmpFile/getDump.sh

-8
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
#!/bin/bash
22

3-
# Set some things that cause this script to exit on a failure,
4-
# rather than carry on blindly.
5-
# -e Exit on any error
6-
# -u Classify unset variables as errors
7-
set -eu
8-
93
# Get useful variables to refer to later in this script.
104
source /etc/gocdb/failover.sh
115

126
# Copy the DB dump file.
137
/usr/bin/scp $DB_DUMP_FROM $DB_DUMP_TO
148

15-
# unset things to not affect the rest of the Failover process.
16-
set +eu

0 commit comments

Comments
 (0)