mirror of
https://github.com/sunknudsen/privacy-guides.git
synced 2025-02-23 09:13:56 +00:00
Added set -o pipefail
This commit is contained in:
parent
77399deaf3
commit
aaccc14e76
@ -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)
|
||||
|
@ -59,6 +59,7 @@ cat << "EOF" > /usr/local/sbin/spoof.sh
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
export LC_CTYPE=C
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user