Fix duplicate use of VOTE_NO_VOTES.
[usenet/usevote.git] / uvvote.pl
old mode 100644 (file)
new mode 100755 (executable)
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;
   }
 
This page took 0.01071 seconds and 4 git commands to generate.