]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/porterbox/files/schroot-dsa/config
Limit error only to startup
[dsa-puppet.git] / modules / porterbox / files / schroot-dsa / config
index cd47ce2330a28d96258ead34bf8a3a0431c83423..c94c6b3640e52d54a17fb5c11574fe1cc76232f0 100644 (file)
@@ -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