From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 10 Aug 2007 18:33:30 -0000 Subject: [Cluster-devel] conga/luci/utils luci_admin Message-ID: <20070810183330.18915.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: RHEL4 Changes by: rmccabe at sourceware.org 2007-08-10 18:33:30 Modified files: luci/utils : luci_admin Log message: backup returns -1, not 0 on backup. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/luci_admin.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.52.2.1&r2=1.52.2.2 --- conga/luci/utils/luci_admin 2007/02/05 21:27:22 1.52.2.1 +++ conga/luci/utils/luci_admin 2007/08/10 18:33:30 1.52.2.2 @@ -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)