diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-10 19:26:22 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-10 19:26:22 -0400 |
commit | 4fcf9f8582cc78699b64884b872fe2578464c660 (patch) | |
tree | fc397c3dc65e2b80bd93f71e95b27a0eb4ade96f /lib/common.sh | |
parent | ead868c7fa430c647d52d746e515aecd0c3c0cae (diff) | |
download | devtools32-4fcf9f8582cc78699b64884b872fe2578464c660.tar.xz |
Tidy up.
Diffstat (limited to 'lib/common.sh')
-rw-r--r-- | lib/common.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/common.sh b/lib/common.sh index 7f83bdd..44d12c3 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -137,7 +137,7 @@ get_full_version() { } ## -# usage : lock( $fd, $file, $message ) +# usage : lock( $fd, $file, $message, [ $message_arguments... ] ) ## lock() { local fd=$1 @@ -158,7 +158,7 @@ lock() { } ## -# usage : slock( $fd, $file, $message ) +# usage : slock( $fd, $file, $message, [ $message_arguments... ] ) ## slock() { local fd=$1 @@ -171,7 +171,6 @@ slock() { eval "exec $fd>"'"$file"' fi - eval "exec $fd>"'"$file"' if ! flock -sn $fd; then stat_busy "${mesg[@]}" flock -s $fd |