[Frugalware-darcs] pacman-tools: dg: fix exit code on push failure

VMiklos vmiklos at frugalware.org
Mon Jul 2 09:22:08 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman-tools;a=darcs_commitdiff;h=20070702070824-e2957-2b9126b69ac4d0f5f6e88e34dad15a4df383bb13.gz;

[dg: fix exit code on push failure
VMiklos <vmiklos at frugalware.org>**20070702070824] {
hunk ./darcs-git.py 522
-	os.system("git push %s" % options.gitopts)
+	ret = os.system("git push %s" % options.gitopts)
+	if ret:
+		sys.exit(1)
}


More information about the Frugalware-darcs mailing list