Only source /etc/schroot/default/config if it exists
authorPeter Palfrader <peter@palfrader.org>
Tue, 7 May 2013 08:39:47 +0000 (10:39 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 7 May 2013 08:39:47 +0000 (10:39 +0200)
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