conga/luci/utils luci_admin
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
luci/utils/luci_admin +3 -4
@@ -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...'