echo not cat

This commit is contained in:
fred 2023-11-06 22:02:24 +01:00
parent f3971086bc
commit a107610128
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ if [[ $MONTANT != "daemon" ]]; then
## DEFAULT xZSTYLE
LASTX=$(ls -d ${MY_PATH}/${IMAGES}/x* | tail -n 1)
STYLE="$(cat ${LASTX} | rev | cut -d '/' -f 1 | rev)"
STYLE="$(echo ${LASTX} | rev | cut -d '/' -f 1 | rev)"
fi