From 66f612510a5df14f4a017809e1eec671aee8cc26 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 11 May 2014 00:55:00 -0400 Subject: Add changes discussed with Dave Reisner on the arch-projects list. - Simplify the commented out call to find HOST_NAME_MAX - Use `systemd-nspawn -q` instead of 2>/dev/null - Use Bash 4.1's new {var}>&- syntax in lock_close() --- lib/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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}>&- } ## -- cgit v1.2.3-70-g09d2