Log gph Files gph Refs gph
Found at: gopher.r-36.net:70/scm/conn/commit/5d11bbc0196cc47f8e431829d91be74a9c98797d.gph
Locking should work again. - conn - A script repository to manage connections in Linux.
---
commit 5d11bbc0196cc47f8e431829d91be74a9c98797d
parent c801a452d5e4e90b1d88115d39284904ba6f604f
Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 1 Mar 2011 15:24:59 +0100
Locking should work again.
Diffstat:
etc/conn/common.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/etc/conn/common.sh b/etc/conn/common.sh
@@ -43,7 +43,7 @@ lock() {
unlock() {
LOCKF="$1.lock"
- rm $LOCKF
+ [ -e $LOCKF ] && rm $LOCKF
}
## Global conn lock, when there is database access.
.