Only source /etc/schroot/default/config if it exists
[mirror/dsa-puppet.git] / modules / porterbox / files / schroot-dsa / config
index 4e176c6..4667031 100644 (file)
@@ -5,7 +5,7 @@
 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 
-. "/etc/schroot/default/config"
+[ -e "/etc/schroot/default/config" ] && . "/etc/schroot/default/config"
 
 # added by weasel:
 if [ "$CHROOT_SESSION_PURGE" = "true" ]; then