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.
This commit is contained in:
Devin Teske 2013-11-08 10:19:48 +00:00
parent 66fd321403
commit cd28e9c5e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257845

View file

@ -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