X-Git-Url: https://code.th-h.de/?p=usenet%2Fusevote.git;a=blobdiff_plain;f=uvvote.pl;h=c859504c71b13b1ffbedac916eaec90654ae6b3b;hp=a86ef437dbfa0a848a6d6dc7dff875611400cabf;hb=691f83483293c2e115b6f16790482fd2323f0968;hpb=ac7e2c541a18c5c910548f5cddaf56502b6e51b0 diff --git a/uvvote.pl b/uvvote.pl old mode 100644 new mode 100755 index a86ef43..c859504 --- a/uvvote.pl +++ b/uvvote.pl @@ -122,9 +122,9 @@ if ($clean) { # normally unixtime is sufficient, if it is not unique append our PID my $ext = time; - opendir (TMP, $config{tmpdir}); + opendir (DIR, $config{tmpdir}); my @tmpfiles = readdir (DIR); - closedir (TMP); + closedir (DIR); opendir (FERTIG, $config{archivedir}); my @fertigfiles = readdir (FERTIG); closedir (FERTIG); @@ -158,7 +158,7 @@ if ($clean) { # no mails: exit here unless ($count) { - print UVmessage::get("VOTE_NO_VOTES") . "\n\n"; + print UVmessage::get("VOTE_NO_VOTEMAILS") . "\n\n"; exit 0; }