summaryrefslogtreecommitdiff
path: root/lib/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common.sh')
-rw-r--r--lib/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common.sh b/lib/common.sh
index 44d12c3..6305528 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -183,7 +183,7 @@ slock() {
##
lock_close() {
local fd=$1
- eval "exec $fd>&-"
+ exec {fd}>&-
}
##