diff --git a/conf.sh b/conf.sh index 0447a35..7a45d96 100644 --- a/conf.sh +++ b/conf.sh @@ -41,7 +41,7 @@ fi # Backup-util Site Setup # ############################## -if [ -z ${db_suffix+x} ]; then db_suffix=`expr $(ls -l /var/www | grep -c ^d)`;fi +if [ -z ${db_suffix+x} ]; then db_suffix=`expr $(ls -l /var/www | grep -c ^d) - 1`;fi wget -q -t7 "$mrepo"/raw/branch/"$mbranch"/config/Motd/50-bckupnotice -O /etc/update-motd.d/50-bckupnotice chmod +x /etc/update-motd.d/50-bckupnotice