make it more difficult to have $mycall & $myalias the same
[spider.git] / perl / create_sysop.pl
index c0ac9e3afc7d8557803a71fc146e65a72fc09349..c59358b612dea4efa99f2e44e555617c4ca83bcf 100755 (executable)
@@ -76,6 +76,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) $!";