From: Peter Palfrader Date: Tue, 7 May 2013 08:39:47 +0000 (+0200) Subject: Only source /etc/schroot/default/config if it exists X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=cab8f7411f0b40678845bd51d3490b4278faa3fb;p=mirror%2Fdsa-puppet.git Only source /etc/schroot/default/config if it exists --- diff --git a/modules/porterbox/files/schroot-dsa/config b/modules/porterbox/files/schroot-dsa/config index 4e176c6cc..466703125 100644 --- a/modules/porterbox/files/schroot-dsa/config +++ b/modules/porterbox/files/schroot-dsa/config @@ -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