Skip to content
Snippets Groups Projects

Update clone script to fail when rsync or other comments fail

Merged Francisco Borges Aurindo Barros requested to merge clone-failure-fix into v9.4-2
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
#!/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() {
echo "Usage: $0 [--filename <filename.sql> || --path <path_for_filename>]" 1>&2;
exit 1;
Loading