Update defaults.inc
This commit is contained in:
@@ -93,7 +93,7 @@ DISP_HEADER(){
|
|||||||
lastrun_date=$(stat -c %y ${lastrun})
|
lastrun_date=$(stat -c %y ${lastrun})
|
||||||
IFS=' '; lastrun_date=(${lastrun_date}); unset IFS
|
IFS=' '; lastrun_date=(${lastrun_date}); unset IFS
|
||||||
c=0; cw=18; spc=''
|
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
|
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||||
echo -e " ${lastrun_item~}${spc}: ${lastrun_date[0]}"
|
echo -e " ${lastrun_item~}${spc}: ${lastrun_date[0]}"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user