Use 'bash' in the keepalived check script

Use bash instead of sh to avoid the error "shopt: not found"

Change-Id: Ib089affa229531cd72f6853105d74b446687ae86
Story: 2008437
Task: 41399
(cherry picked from commit 1a86e454e7)
This commit is contained in:
Lingxian Kong 2020-12-10 15:18:10 +13:00
parent 7bdf196eee
commit b339d00975
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ status=0
for file in {{ check_scripts_dir }}/*
do
echo "Running check script: " $file
sh $file
bash $file
status=$(( $status + $? ))
done
exit $status