From da12892acf1eda37539938f2dd726f815b377e7a Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Fri, 12 Aug 2016 23:28:39 -0700 Subject: [PATCH] attempted bug fix for dsfull --- dsfull | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dsfull b/dsfull index 44588ba..c6f1875 100755 --- a/dsfull +++ b/dsfull @@ -22,10 +22,8 @@ fi set -x if $reboot; then - ssh $host sudo bash <<'EOF' || [[ $? == 255 ]] -touch /tmp/keyscript-off -reboot -EOF + # untested, this caused hang using here doc. + ssh $host sudo bash -c "touch /tmp/keyscript-off; reboot" ||: fi pxe-server fai $host -- 2.30.2