Skip to content

Commit

Permalink
do not print message for fai-diskimage
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Aug 14, 2017
1 parent 69ca8d5 commit 1fc6a85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/subroutines
Expand Up @@ -556,8 +556,6 @@ task_faiend() {
fi

sendmon "TASKEND faiend 0"
echo "Rebooting $HOSTNAME now"
sendmon "TASKEND reboot 0"

cd /
if [ "$target" != '/' ]; then
Expand All @@ -582,6 +580,8 @@ task_faiend() {
umount $FAI_ROOT/proc $FAI_ROOT/sys $FAI_ROOT/dev/pts 2>/dev/null
umount -arf 2>/dev/null

echo "Rebooting $HOSTNAME now"
sendmon "TASKEND reboot 0"
# reboot or halt?
if [ "$flag_halt" -gt "0" ]; then
exec halt -dfp
Expand Down

0 comments on commit 1fc6a85

Please sign in to comment.