Update run.sh
This commit is contained in:
2
run.sh
2
run.sh
@@ -5,7 +5,7 @@ source /opt/idssys/defaults/colors.inc
|
||||
|
||||
if [ -f /opt/mm.checking ]; then
|
||||
fd=$(( `date +%s` - `stat -L --format %Y /opt/mm.checking` ))
|
||||
if [ ${fd} -gt 300 ]; then
|
||||
if [ ${fd} -gt 60 ]; then
|
||||
rm -f /opt/mm.checking
|
||||
else
|
||||
echo -e "${idsCL[LightCyan]}Try again later, 'mm' program currently in use...${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user