aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2022-07-01 08:50:47 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2022-07-01 08:50:47 -0700
commit3b7342b8b037c9d7e240a06f68943456fcda1491 (patch)
tree310dd29b241488d1014d32bac30f93950df9e9b1
parentVotify: accept symlinks as well as files (diff)
downloadelections-3b7342b8.tar.gz
elections-3b7342b8.tar.bz2
elections-3b7342b8.zip
Votify: editor fail
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--Votify.pm2
1 files changed, 1 insertions, 1 deletions
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) {