From aaccc14e7667e4d1ba9ff04ac108a37426655f74 Mon Sep 17 00:00:00 2001 From: Sun Knudsen Date: Sat, 17 Apr 2021 16:33:15 -0400 Subject: [PATCH] Added set -o pipefail --- .../README.md | 2 ++ .../README.md | 1 + 2 files changed, 3 insertions(+) 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