commit:     3b7342b8b037c9d7e240a06f68943456fcda1491
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 15:50:47 2022 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 15:50:47 2022 +0000
URL:        https://gitweb.gentoo.org/proj/elections.git/commit/?id=3b7342b8

Votify: editor fail

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 Votify.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Votify.pm b/Votify.pm
index db311ea..6f73954 100644
--- a/Votify.pm
+++ b/Votify.pm
@@ -320,7 +320,7 @@ sub collect {
         }
 
         my $submitted_filename = "$home/.ballot-$self->{election}-submitted";
-        if (-d $submitted_filename) {}
+        if (-d $submitted_filename) {
             print STDERR "Warning: $v has a directory instead of a ballot\n";
         }
         elsif (-e $submitted_filename && -r $submitted_filename) {

Reply via email to