Fix update script (typo)

This commit is contained in:
Jean Froment 2021-06-20 16:05:23 +02:00
parent 1d0684a2b4
commit d531add8f5
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ fi
# Alert in case new services have been added (or removed) in sample but active file has not changed # Alert in case new services have been added (or removed) in sample but active file has not changed
NB_SERVICES_ACTIVE=$(cat services.conf | wc -l) NB_SERVICES_ACTIVE=$(cat services.conf | wc -l)
NB_SERVICES_ORIG=$(cat services.conf.sample | wc -l) NB_SERVICES_ORIG=$(cat services.conf.sample | wc -l)
if [[ ${NB_SERVICES_ACTIVE} != ${NB_SERVICES_ORIG} ]]; if [[ ${NB_SERVICES_ACTIVE} != ${NB_SERVICES_ORIG} ]]; then
echo "[$0] Your services.conf file seems outdated. It appears there are new services available, or services that have been removed." echo "[$0] Your services.conf file seems outdated. It appears there are new services available, or services that have been removed."
diff -yt services.conf services.conf.sample diff -yt services.conf services.conf.sample
fi fi