Update mm-scripts.sh

This commit is contained in:
2023-07-10 20:51:28 -05:00
parent a622c2b813
commit be560530f2

View File

@@ -1186,8 +1186,7 @@ SERVICERESTORE(){
fname=${bakfile##*/}
fdate=${fname#*.}; fdate=${fdate%.*}
IFS='-'; read -a f_date <<< "${fdate}"; unset IFS
if [ ${f_date[3]} -gt 12 ]
then
if [ ${f_date[3]} -gt 12 ]; then
hr=`expr ${f_date[3]} - 12`
ma=pm
else