From: Joey Hess <joey@gnu.kitenet.net> Date: Sat, 4 Apr 2009 22:30:29 +0000 (-0400) Subject: fix bug I introduced X-Git-Tag: 3.10~49^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=01b063d2e2f79704fe1d850f226a01a01400da01;p=ikiwiki.git fix bug I introduced --- 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.