]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Limit error only to startup
authorPeter Palfrader <peter@palfrader.org>
Mon, 22 Apr 2013 20:41:04 +0000 (22:41 +0200)
committerPeter Palfrader <peter@palfrader.org>
Mon, 22 Apr 2013 20:41:04 +0000 (22:41 +0200)
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