mirror of https://github.com/CGAL/cgal
Incorrect use of the function log().
This commit is contained in:
parent
680ae36873
commit
034ced5cc3
|
|
@ -867,14 +867,14 @@ lockfile -r 1 "$LOCK_FILE";
|
||||||
if [ ${?} != 0 ]; then
|
if [ ${?} != 0 ]; then
|
||||||
PID=`cat "$LOCK_FILE"`
|
PID=`cat "$LOCK_FILE"`
|
||||||
if kill -0 "$PID"; then
|
if kill -0 "$PID"; then
|
||||||
log "COULD NOT AQUIRE LOCK! LOCKING PROCESS PID=$PID";
|
log "${ACTUAL_LOGFILE}" "COULD NOT AQUIRE LOCK! LOCKING PROCESS PID=$PID";
|
||||||
exit 1;
|
exit 1;
|
||||||
else
|
else
|
||||||
# The locking process has died without erasing the lock file
|
# The locking process has died without erasing the lock file
|
||||||
rm -f "$LOCK_FILE"
|
rm -f "$LOCK_FILE"
|
||||||
lockfile -r 1 "$LOCK_FILE";
|
lockfile -r 1 "$LOCK_FILE";
|
||||||
if [ ${?} != 0 ]; then
|
if [ ${?} != 0 ]; then
|
||||||
log "COULD NOT AQUIRE LOCK!";
|
log "${ACTUAL_LOGFILE}" "COULD NOT AQUIRE LOCK!";
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue