Commit 0f091f25 authored by mattijs's avatar mattijs
Browse files

ENH: wmakeScheduler: check for lockfile executable

parent 85b44b6c
......@@ -3,7 +3,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
# \\/ M anipulation |
#-------------------------------------------------------------------------------
# License
......@@ -170,6 +170,13 @@ colourPipe()
colourIndex=0
# Check for existence of lockfile binary
if ! type -p lockfile >/dev/null
then
echo "Could not find executable 'lockfile'"
exit 1
fi
while :
do
for slotGroup in $WM_HOSTS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment