diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2020-06-19 22:38:58 +0200 |
|---|---|---|
| committer | Moritz Meißelbach <arbelzapf@gmail.com> | 2020-06-19 22:38:58 +0200 |
| commit | e96f2cafdc48ad16fdd3427a9d13ae1d2e86b042 (patch) | |
| tree | 3012d813c79e76daf857beabfd84f53d0263390a | |
| parent | da896c6edcf34e6ed76bd16683e4fd084b6c1c49 (diff) | |
| download | sway-launcher-desktop-e96f2cafdc48ad16fdd3427a9d13ae1d2e86b042.tar.gz sway-launcher-desktop-e96f2cafdc48ad16fdd3427a9d13ae1d2e86b042.zip | |
#22 open file descriptor 3 at the beginning of the script
| -rwxr-xr-x | sway-launcher-desktop.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh index 34b7313..947d49b 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -4,6 +4,7 @@ # https://gist.github.com/Biont/40ef59652acf3673520c7a03c9f22d2a shopt -s nullglob globstar set -o pipefail +exec 3<> "$(mktemp -u)" # shellcheck disable=SC2154 trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR IFS=$'\n\t' |
