summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-04-04 18:30:29 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-04-04 18:30:29 -0400
commit01b063d2e2f79704fe1d850f226a01a01400da01 (patch)
tree6d1fdec9e9f897403c4e929922255dc998f6b7c2
parentca32dd31de95f73a9c848a5cc51efe5856c2eed5 (diff)
fix bug I introduced
-rw-r--r--IkiWiki/Plugin/darcs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/darcs.pm b/IkiWiki/Plugin/darcs.pm
index dfd193b9c..5927f23da 100644
--- a/IkiWiki/Plugin/darcs.pm
+++ b/IkiWiki/Plugin/darcs.pm
@@ -205,7 +205,7 @@ sub rcs_commit ($$$;$$) {
# Update the repository by pulling from the default repository, which is
# master repository.
silentsystem('darcs', "pull", "--quiet", "--repodir", $config{srcdir},
- "--all") !=0 || error("'darcs pull' failed");
+ "--all") == 0 || error("'darcs pull' failed");
# If this updating yields any conflicts, we'll record them now to resolve
# them. If nothing is recorded, there are no conflicts.