From: Peter Palfrader Date: Mon, 22 Apr 2013 20:41:04 +0000 (+0200) Subject: Limit error only to startup X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=435ec83a093bb9bb6638d8b46a6c8ab8cd13a231;p=dsa-puppet.git Limit error only to startup --- diff --git a/modules/porterbox/files/schroot-dsa/config b/modules/porterbox/files/schroot-dsa/config index cd47ce23..c94c6b36 100644 --- a/modules/porterbox/files/schroot-dsa/config +++ b/modules/porterbox/files/schroot-dsa/config @@ -22,8 +22,10 @@ if [ "$CHROOT_SESSION_PURGE" = "true" ]; then SUITE_BASE="${chroot_type%%_*}" ;; *) - echo >&2 "Unable to parse chroot description for what kind of chroot you want." - exit 1 + if [ "$STAGE" = "setup-start" ]; then + echo >&2 "Unable to parse chroot description for what kind of chroot you want." + exit 1 + fi ;; esac fi