make it more difficult to have $mycall & $myalias the same
[spider.git] / perl / update_sysop.pl
index 2fccbb5aee90c8aa2f46fa5c5412b933150b187d..6700b98ff18c1728bae75427dfc0d350729b3cda 100755 (executable)
@@ -83,6 +83,8 @@ sub create_it
 
 }
 
+die "\$myalias \& \$mycall are the same ($mycall)!, they must be different (hint: make \$mycall = '${mycall}-2';).\n" if $mycall eq $myalias;
+
 $lockfn = "$root/local/cluster.lck";       # lock file name
 if (-e $lockfn) {
        open(CLLOCK, "$lockfn") or die "Can't open Lockfile ($lockfn) $!";