Merge "add debug message to investigate install locking" into dev/experimental
This commit is contained in:
commit
d1ee9e7e36
@ -13,10 +13,10 @@ if [ -f $LOCKFILE ]; then
|
||||
LOCKED_PID=$(cat $LOCKFILE | head -n 1)
|
||||
ps -p $LOCKED_PID &> /dev/null
|
||||
if [[ "$?" != "0" ]]; then
|
||||
echo "the progress of pid $LOCKED_PID does not exist"
|
||||
echo "the progress of pid $LOCKED_PID does not exist: `ps -p $LOCKED_PID`"
|
||||
rm -f $LOCKFILE
|
||||
else
|
||||
echo "the progress of pid $LOCKED_PID is running"
|
||||
echo "the progress of pid $LOCKED_PID is running: `ps -p $LOCKED_PID`"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user