Fix update script (typo)
This commit is contained in:
parent
1d0684a2b4
commit
d531add8f5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue