commit 94755a5a90cb10750b238d1c7c36e3af89a96e37
parent ae09920bff69d74a1efb6b9a60c6712c4c3197e5
Author: oscarbenedito <oscar@obenedito.org>
Date:   Tue,  3 Mar 2020 22:37:39 +0100

Fixed error with quotes

Diffstat:
Mgoaccess-stats/goaccess-run-daily.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/goaccess-stats/goaccess-run-daily.sh b/goaccess-stats/goaccess-run-daily.sh @@ -30,7 +30,7 @@ LOGS_PREFIX="/var/log/apache2/access-obenedito.log" run_goaccess() { if [ "$#" -ge 2 ]; then cmd="goaccess $1 -o $2" - cmd="${cmd} --log-format=COMBINED --static-file={.js,.css,.ico,.svg,.png}" + cmd="${cmd} --log-format=COMBINED --static-file=.js --static-file=.css --static-file=.ico --static-file=.svg --static-file=.png" if [ "$#" -ge 3 ]; then cmd="${cmd} --db-path=$3" fi @@ -44,7 +44,7 @@ run_goaccess() { cmd="${cmd} --keep-db-files" fi fi - $cmd + eval $cmd else exit 1 fi