Remove error exit when undeploying unexistent stak

This commit is contained in:
Juan Carlos Mejías Rodríguez 2018-11-25 12:16:38 -05:00
parent 9433d019f1
commit 291ef0c616

4
psu
View File

@ -187,8 +187,8 @@ deploy () {
##################
undeploy () {
if [ -z "$STACK" ]; then
echo "Error: Stack $PORTAINER_STACK_NAME not found."
exit 1
echo_verbose "Stack $PORTAINER_STACK_NAME not found."
exit 0
fi
echo_verbose "Stack $PORTAINER_STACK_NAME found."