]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/darcs.pm
fix bug I introduced
[ikiwiki.git] / 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.