diff --git a/evomaintenance.sh b/evomaintenance.sh index 3ddbdf7..7d393b4 100755 --- a/evomaintenance.sh +++ b/evomaintenance.sh @@ -581,7 +581,7 @@ GIT_REPOSITORIES="/etc /etc/bind /usr/share/scripts" # Add /etc directories from lxc containers if they are git directories if [ -d /var/lib/lxc ]; then - GIT_REPOSITORIES="${GIT_REPOSITORIES} $(find /var/lib/lxc/ -maxdepth 3 -name 'etc' | tr '\n' ' ' | sed 's/[[:space:]]\+$//')" + GIT_REPOSITORIES="${GIT_REPOSITORIES} $(find -L /var/lib/lxc/ -maxdepth 3 -name 'etc' | tr '\n' ' ' | sed 's/[[:space:]]\+$//')" fi # initialize variable