From b0f67a359870e3154e33ff7b9b6ed714de54e461 Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Tue, 26 Apr 2016 15:44:30 +0200 Subject: [PATCH] bug #4366: preserve line breaks in monitor_and_log --- src/mad/sh/scripts_common.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/mad/sh/scripts_common.sh b/src/mad/sh/scripts_common.sh index 4135b69320..9816d56988 100644 --- a/src/mad/sh/scripts_common.sh +++ b/src/mad/sh/scripts_common.sh @@ -157,12 +157,13 @@ function exec_and_log # the command fails function monitor_and_log { - EXEC_OUT=`bash -s 2>/dev/null </dev/null <