summaryrefslogtreecommitdiff
path: root/IkiWiki/Rcs/monotone.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Rcs/monotone.pm')
-rw-r--r--IkiWiki/Rcs/monotone.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Rcs/monotone.pm b/IkiWiki/Rcs/monotone.pm
index 5e8579b2f..d7e8f296a 100644
--- a/IkiWiki/Rcs/monotone.pm
+++ b/IkiWiki/Rcs/monotone.pm
@@ -41,7 +41,7 @@ hook(type => "checkconfig", id => "monotone", call => sub { #{{{
error("Monotone version too old, is $version but required 0.38");
}
- if (exists $config{mtn_wrapper}) {
+ if (length $config{mtn_wrapper}) {
push @{$config{wrappers}}, {
wrapper => $config{mtn_wrapper},
wrappermode => (defined $config{mtn_wrappermode} ? $config{mtn_wrappermode} : "06755"),