]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
fix bug I introduced
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 4 Apr 2009 22:30:29 +0000 (18:30 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 4 Apr 2009 22:30:29 +0000 (18:30 -0400)
IkiWiki/Plugin/darcs.pm

index dfd193b9c1a66a1ee59f03bc15e8fa51f5c1098d..5927f23da7f220f790b32b35f6053bcaa81c8dd7 100644 (file)
@@ -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.