Skip to content
Snippets Groups Projects
Commit fe06a58b authored by Vineet Reddy Rajula's avatar Vineet Reddy Rajula
Browse files

Merge branch 'clone-failure-fix' into 'v9.4-2'

Update clone script to fail when rsync or other comments fail

See merge request !159
parents 466a41e2 4011df30
Branches
Tags
1 merge request!159Update clone script to fail when rsync or other comments fail
Pipeline #4775150 failed
#!/bin/sh #!/bin/sh
# We want to make the job fail if a command exits with non-zero code
# An example was an incident seen on the 11/11/2022, where rsync failed for external purposes
set -e
usage() { usage() {
echo "Usage: $0 [--filename <filename.sql> || --path <path_for_filename>]" 1>&2; echo "Usage: $0 [--filename <filename.sql> || --path <path_for_filename>]" 1>&2;
exit 1; exit 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment