mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-13 05:35:16 +01:00
removed duplicated io handles
This commit is contained in:
@@ -9,9 +9,6 @@ set -o pipefail
|
||||
[[ -n "${ZSH_VERSION:-}" ]] && set -o SH_WORD_SPLIT && set +o FUNCTION_ARGZERO
|
||||
umask 077 # paranoid umask, we're creating private keys
|
||||
|
||||
# duplicate scripts IO handles
|
||||
exec 4<&0 5>&1 6>&2
|
||||
|
||||
# Find directory in which this script is stored by traversing all symbolic links
|
||||
SOURCE="${0}"
|
||||
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
|
||||
|
||||
Reference in New Issue
Block a user