Code cleanup
This commit is contained in:
parent
d772b4101a
commit
5f6d2b06d0
1 changed files with 2 additions and 0 deletions
2
arkdep
2
arkdep
|
@ -217,6 +217,7 @@ cleanup () {
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# Always healthcheck on run if requested in config, unless the user explicitely called it
|
# Always healthcheck on run if requested in config, unless the user explicitely called it
|
||||||
|
@ -890,4 +891,5 @@ deploy () {
|
||||||
[[ $1 == 'cleanup' ]] && cleanup
|
[[ $1 == 'cleanup' ]] && cleanup
|
||||||
|
|
||||||
# No valid params were provided
|
# No valid params were provided
|
||||||
|
printf '\e[1;31m<#>\e[0m\e[1m No valid parameters provided\e[0m\n'
|
||||||
exit 3
|
exit 3
|
||||||
|
|
Loading…
Add table
Reference in a new issue