From cd28e9c5e0e95d91f0efe451e6ac6ade48155a44 Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Fri, 8 Nov 2013 10:19:48 +0000 Subject: [PATCH] I often forget that debugFile can begin with a + for deciding that debug should be sent to both the file (minus the leading +) and stdout. --- usr.sbin/bsdinstall/scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/scripts/config b/usr.sbin/bsdinstall/scripts/config index c3962443c9d..3ddcadaa895 100755 --- a/usr.sbin/bsdinstall/scripts/config +++ b/usr.sbin/bsdinstall/scripts/config @@ -39,7 +39,7 @@ rm $BSDINSTALL_TMPBOOT/loader.conf.* cp $BSDINSTALL_TMPBOOT/* $BSDINSTALL_CHROOT/boot -[ "$debugFile" ] && cp "$debugFile" $BSDINSTALL_CHROOT/var/log/ +[ "${debugFile#+}" ] && cp "${debugFile#+}" $BSDINSTALL_CHROOT/var/log/ # Set up other things from installed config chroot $BSDINSTALL_CHROOT /usr/bin/newaliases