From: Lukas Schauer Date: Tue, 8 Mar 2016 21:05:18 +0000 (+0100) Subject: removed duplicated io handles X-Git-Tag: v0.1.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80850767bcf102fe10a44f4fff9d2b77c13134ea;p=thirdparty%2Fdehydrated.git removed duplicated io handles --- diff --git a/letsencrypt.sh b/letsencrypt.sh index 99f5592..a501a8b 100755 --- a/letsencrypt.sh +++ b/letsencrypt.sh @@ -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