fixed exit status on check that was wrong
This commit is contained in:
parent
3ac219d0d4
commit
02d286a7df
1 changed files with 2 additions and 2 deletions
|
@ -9,9 +9,9 @@ FILE_TO_CHECK=${1:-/etc/run-cosmos-fleetlock-disable}
|
|||
|
||||
if [[ -e "$FILE_TO_CHECK" ]]; then
|
||||
echo "WARNING: '$FILE_TO_CHECK' exists so fleetlock is disabled."
|
||||
exit 0
|
||||
exit 1
|
||||
else
|
||||
echo "OK: Fleetlock is not disabled"
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue