From 01978a6ff76ce430eed9020f39121fe7e7324018 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 11 Feb 2019 00:15:35 -0600 Subject: [PATCH] Update defaults.inc --- defaults.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults.inc b/defaults.inc index a4f8becf..81504bc5 100755 --- a/defaults.inc +++ b/defaults.inc @@ -93,7 +93,7 @@ DISP_HEADER(){ lastrun_date=$(stat -c %y ${lastrun}) IFS=' '; lastrun_date=(${lastrun_date}); unset IFS c=0; cw=18; spc='' - spc1=${cw}-${#NM_SERVICES[${srvc}]} + spc1=${cw}-${#lastrun_item} until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -e " ${lastrun_item~}${spc}: ${lastrun_date[0]}" done