mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-11-15 13:22:04 +01:00
removed duplicated io handles
This commit is contained in:
1 parent
c52248d194
commit
80850767bc
1 file changed
-3
@@ -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