Package: ganeti2
Version: 2.0.5-1
Severity: normal
Tags: patch

ganeti-cleaner in one case erroneously calls "echo 0" instead of "exit
0". As ganeti-cleaner is called in the daily cronjob, this leads to a
daily mail containing just "0" with an unconfigured default install.
The attached patch fixes this.

elmar

-- 

 .'"`.                                                            /"\
| :' :   Elmar Hoffmann <e...@elho.net>    ASCII Ribbon Campaign  \ /
`. `'    GPG key available via pgp.net        against HTML email   X
  `-                                                    & vCards  / \
--- ganeti-cleaner.orig	2010-01-05 15:18:49.000000000 +0100
+++ ganeti-cleaner	2010-02-02 13:51:02.000000000 +0100
@@ -27,7 +27,7 @@
 REMOVE_AFTER=21
 
 # Exit if machine is not part of a cluster
-[[ -e $DATA_DIR/ssconf_master_node ]] || echo 0
+[[ -e $DATA_DIR/ssconf_master_node ]] || exit 0
 
 # Exit if queue archive directory doesn't exist
 [[ -d $QUEUE_ARCHIVE_DIR ]] || exit 0

Attachment: signature.asc
Description: Digital signature

Reply via email to