From f245b700617d65847cf2de93b61310918360dcb7 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 11 Feb 2019 12:00:22 -0600 Subject: [PATCH] Update defaults.inc --- defaults.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults.inc b/defaults.inc index e48bdba1..d82ed7b9 100755 --- a/defaults.inc +++ b/defaults.inc @@ -92,10 +92,11 @@ DISP_HEADER(){ lastrun_item=$(echo ${lastrun_item} | sed "s/-/ /g") lastrun_date=$(stat -c %y ${lastrun}) IFS=' '; lastrun_date=(${lastrun_date}); unset IFS + IFS='.'; lastrun_time=(${lastrun_date[1]}); unset IFS c=0; cw=18; spc='' spc1=${cw}-${#lastrun_item} until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done - echo -e " ${lastrun_item~}${spc}: ${lastrun_date[0]} ${lastrun_date[1]}" + echo -e " ${lastrun_item~}${spc}: ${lastrun_date[0]} ${lastrun_time}" done DIVIDER