chiark / gitweb /
send voting url to admin not to voters
[modbot-mtm.git] / webstump / scripts / webstump.pl
index 97b09ed557d195f0cd4a71447e60ddae3c48a02d..ba5343ea70bd793f78a887d0d4a4ebe5dc577520 100755 (executable)
@@ -9,9 +9,14 @@ if( !($0 =~ /\/scripts\/webstump\.pl$/) ) {
   die "This script can only be called with full path name!!!";
 }
 
+umask 007;
+
 $webstump_home = $0;
 $webstump_home =~ s/\/scripts\/webstump\.pl$//;
 
+my $logfile= "$webstump_home/../errs";
+open STDERR, ">> $logfile" or die "$logfile $!";
+
 $webstump_home =~ /(^.*$)/;
 $webstump_home = $1;