Skip to content
Snippets Groups Projects
Commit 1c27a75c authored by Martin Afanasjew's avatar Martin Afanasjew
Browse files

utils/lock.sh: remove redundant 'local'

parent b1811f2e
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ EOS
_create_lock() {
local lock_fd="$1"
local ruby="/usr/bin/ruby"
[[ -x "$ruby" ]] || local ruby="$(which ruby 2>/dev/null)"
[[ -x "$ruby" ]] || ruby="$(which ruby 2>/dev/null)"
if [[ -n "$ruby" ]]
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment