Changes of Revision 9
[-] [+] | Changed | check_stale_lock2 |
@@ -15,6 +15,7 @@ LOCK="`echo ${ITEM} | awk -F: '{print $1}'`" MAXLOCKTIME="`echo ${ITEM} | awk -F: '{print $2}'`" LOCKDIR="`dirname ${LOCK}`" + LOCKDIR="`readlink -e ${LOCKDIR}`" LOCKNAME="`basename ${LOCK}`" fi for ITEM in `find ${LOCKDIR} -maxdepth 1 -type f -name ${LOCKNAME} -cmin +${MAXLOCKTIME}` ; do |