From b8e250232ec55b946d2fd7e4237f12632408bdcc Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Fri, 21 Feb 2014 16:14:29 +1100 Subject: [PATCH] Add end-of-file checks to bash8 Add two end-of-file checks to bash8. Firstly, alert if heredoc hasn't finished. Some heredocs were done like: --- sudo bash -c "cat < foo ... EOF" --- (A better way to do this is "cat </etc/polkit-1/localauthority/50-local.d/50-libvirt-remote-access.pkla + cat </etc/polkit-1/localauthority/50-local.d/50-libvirt-remote-access.pkla + cat < $rules_dir/50-libvirt-$STACK_USER.rules + cat <