]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 4e176c6cc6beffb65a6af482957b8a55a4a63811..4667031251bd2514817db1215252802b6485e044 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