From 1b46d26aeff0bb9afdab2bd0b5d4f24b4fd75c0a Mon Sep 17 00:00:00 2001 From: funilrys Date: Wed, 19 Jul 2017 21:31:54 +0200 Subject: [PATCH] Fix #64 --- funceble | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/funceble b/funceble index b1e4660..574cec7 100755 --- a/funceble +++ b/funceble @@ -130,6 +130,9 @@ outputInvalidResult=${outputDir}splited/invalid.txt # Output of error results outputErrorResult=${outputDir}splited/inactive.txt + +# Output of persentage log +outputPercentageLog=${percentageLogOutput}percentage.txt ################################################################################ ############################## Default Values ################################## # IP for host file @@ -1355,9 +1358,9 @@ main() if [[ ${showPercentage} == true ]] then # We print on screen the percentage and its header - beforeHeader ${percentageLogOutput}${fileNameDate} - printHeader 'Percentage' && printHeader 'Percentage' > ${percentageLogOutput}${fileNameDate} - prints 'Percentage' && prints 'Percentage' >> ${percentageLogOutput}${fileNameDate} + beforeHeader ${outputPercentageLog} + printHeader 'Percentage' && printHeader 'Percentage' > ${outputPercentageLog} + prints 'Percentage' && prints 'Percentage' >> ${outputPercentageLog} fi }