diff --git a/root/etc/cont-init.d/80-sma-link.bash b/root/etc/cont-init.d/80-sma-link.bash index b3aa4c8..1c7da65 100644 --- a/root/etc/cont-init.d/80-sma-link.bash +++ b/root/etc/cont-init.d/80-sma-link.bash @@ -36,7 +36,7 @@ ln -s "/config/scripts/sma/sma.log" "/var/log/sma.log" && \ chmod 0666 "/config/scripts/sma"/* # update from git -if [[ "${SMA_UPDATE}" == "true" ]]; then +if [[ "${UPDATE}" == "true" ]]; then git -C ${SMA_PATH} pull origin master fi