From c161684913a19dbb5628a2a1aeb061da5505d8f0 Mon Sep 17 00:00:00 2001 From: shakasan Date: Tue, 20 Mar 2018 04:22:46 +0100 Subject: [PATCH] txt fixed --- core_functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core_functions.sh b/core_functions.sh index a5b3b3f..7b54a5d 100644 --- a/core_functions.sh +++ b/core_functions.sh @@ -58,8 +58,8 @@ function runCmd () { typeset txt="$2" typeset ret_code - printf "[CMD] executing : $txt " - printf "\n[CMD] executing $txt : $cmd\n" &>> $logFile + printf "[CMD] $txt " + printf "\n[CMD] $txt : $cmd\n" &>> $logFile eval $cmd" &>> $logFile" ret_code=$? retCode $ret_code