diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh index c8b38e25c..9f63aaaa8 100755 --- a/bin/copy-trilium.sh +++ b/bin/copy-trilium.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash +set -e # Fail on any command error shopt -s globstar if [[ $# -eq 0 ]] ; then