From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 10 Aug 2007 18:32:54 -0000 Subject: [Cluster-devel] conga/luci/utils luci_admin Message-ID: <20070810183254.10417.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Branch: RHEL5 Changes by: rmccabe at sourceware.org 2007-08-10 18:32:54 Modified files: luci/utils : luci_admin Log message: backup returns -1, not 0 on failure Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/luci_admin.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.50.2.3&r2=1.50.2.4 --- conga/luci/utils/luci_admin 2007/03/01 00:31:19 1.50.2.3 +++ conga/luci/utils/luci_admin 2007/08/10 18:32:54 1.50.2.4 @@ -1110,7 +1110,7 @@ doc = luci_backup(argv[2:]) restore_luci_db_fsattr() - if not doc: + if doc == -1: sys.stderr.write('The Luci backup failed. Exiting.\n') sys.exit(1)