Commit e18def2a authored by Elmar Hoffmann's avatar Elmar Hoffmann Committed by Iustin Pop
Browse files

ganeti-cleaner: does 'echo 0' instead of 'exit 0'

This is from Debian Bug#568105.

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.
Signed-off-by: default avatarElmar Hoffmann <>
Reviewed-by: default avatarIustin Pop <>
Reviewed-by: default avatarGuido Trotter <>
Signed-off-by: default avatarIustin Pop <>
parent ba0b05fe
......@@ -27,7 +27,7 @@ QUEUE_ARCHIVE_DIR=$DATA_DIR/queue/archive
# 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment