]> git.llucax.com Git - z.facultad/75.08/llamadas.git/commitdiff
Fix en locking
authorAlan Kennedy <kennedya@3dgames.com.ar>
Sun, 24 Oct 2004 02:20:25 +0000 (02:20 +0000)
committerAlan Kennedy <kennedya@3dgames.com.ar>
Sun, 24 Oct 2004 02:20:25 +0000 (02:20 +0000)
inst/antifraude.pl

index 47ffc42439fcf1c03c644c16d5ce9ad67a3e2285..e2d09c1cb065228b2ed342d7fd18381cdc027faf 100644 (file)
@@ -155,7 +155,8 @@ if ((!$ARGV[0]) || (! -d $ARGV[0])) {
        exit 1;
 }
 
-# Lock file
+# File locking..
+if (is_lock()) { exit 1; }
 lock();
 
 # Defino some GLOBALS