diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-11 00:55:00 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-11 00:55:00 -0400 |
commit | 66f612510a5df14f4a017809e1eec671aee8cc26 (patch) | |
tree | 03da7982b84b01956f1ba45d120cccb50827bd53 /lib | |
parent | 4fcf9f8582cc78699b64884b872fe2578464c660 (diff) | |
download | devtools-66f612510a5df14f4a017809e1eec671aee8cc26.tar.xz |
Add changes discussed with Dave Reisner on the arch-projects list.libretools-20140511
- 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()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common.sh | 2 |
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}>&- } ## |