Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/common.sh2
1 files changed, 1 insertions, 1 deletions
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