From 435ec83a093bb9bb6638d8b46a6c8ab8cd13a231 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 22 Apr 2013 22:41:04 +0200 Subject: [PATCH] Limit error only to startup --- modules/porterbox/files/schroot-dsa/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.2