diff --git a/how-to-backup-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md b/how-to-backup-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md index 96a3ac9..89e9bca 100644 --- a/how-to-backup-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md +++ b/how-to-backup-and-encrypt-data-using-rsync-and-veracrypt-on-macos/README.md @@ -265,6 +265,7 @@ cat << EOF > /usr/local/bin/backup.sh #! /bin/sh set -e +set -o pipefail function dismount() { @@ -343,6 +344,7 @@ cat << EOF > /usr/local/bin/check.sh #! /bin/sh set -e +set -o pipefail red=\$(tput setaf 1) normal=\$(tput sgr0) diff --git a/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md b/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md index 4a012d3..8a41e10 100644 --- a/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md +++ b/how-to-spoof-mac-address-and-hostname-automatically-at-boot-on-macos/README.md @@ -59,6 +59,7 @@ cat << "EOF" > /usr/local/sbin/spoof.sh #! /bin/sh set -e +set -o pipefail export LC_CTYPE=C