Skip to content
Snippets Groups Projects
Commit 2f2ad874 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

flock before echo

parent 0d4a0256
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,8 @@ fi
# Start the node.
(
echo ${BASHPID} > ${BFANODEDIR}/start-loop.pid
flock --nonblock --exclusive 9 || exit 1
echo ${BASHPID} > ${BFANODEDIR}/start-loop.pid
while :
do
echo
......
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