From cab8f7411f0b40678845bd51d3490b4278faa3fb Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 7 May 2013 10:39:47 +0200 Subject: [PATCH] Only source /etc/schroot/default/config if it exists --- modules/porterbox/files/schroot-dsa/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1