index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Levente Polyak <anthraxx@archlinux.org> | 2024-01-05 13:38:19 +0100 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2024-01-07 02:38:34 +0100 |
commit | 0e538cf4983f27548077c0a2a272ecd8deebacb1 (patch) | |
tree | 850aba2689c6e0b924f5f99eea4cb2a39e5b6ee3 /src/lib | |
parent | 4673ad6c89bbdca632b22edfc2ef35486b7a635b (diff) |
-rw-r--r-- | src/lib/common.sh | 2 |
diff --git a/src/lib/common.sh b/src/lib/common.sh index 82fdd2e..29b0343 100644 --- a/src/lib/common.sh +++ b/src/lib/common.sh @@ -135,7 +135,7 @@ lock() { # Only reopen the FD if it wasn't handed to us if ! [[ "/dev/fd/$1" -ef "$2" ]]; then mkdir -p -- "$(dirname -- "$2")" - eval "exec $1>"'"$2"' + eval "exec $1>>"'"$2"' fi if ! flock -n "$1"; then |