[Cluster-devel] conga/luci/utils luci_admin
rmccabe at sourceware.org
rmccabe at sourceware.org
Fri Aug 4 18:37:58 UTC 2006
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-08-04 18:37:57
Modified files:
luci/utils : luci_admin
Log message:
do nothing when backup is requested if luci has not been initialized
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/luci_admin.diff?cvsroot=cluster&r1=1.42&r2=1.43
--- conga/luci/utils/luci_admin 2006/08/03 23:39:00 1.42
+++ conga/luci/utils/luci_admin 2006/08/04 18:37:57 1.43
@@ -1029,11 +1029,10 @@
def backup(argv):
+ # If the site hasn't been initialized, there's nothing to
+ # save, and luci_backup() will fail
if not luci_initialized():
- sys.stderr.write('The Luci server has not yet been initialized\n')
- sys.stderr.write('To initialize it, execute\n')
- sys.stderr.write('\t' + argv[0] + ' init\n')
- sys.exit(1)
+ sys.exit(0)
print 'Backing up the Luci server...'
More information about the Cluster-devel
mailing list