Only cleanup if were purging also

This commit is contained in:
2020-09-27 08:07:13 +02:00
parent a1222dc7d8
commit 2ceca40aa5

View File

@ -93,9 +93,9 @@ run_plugin() {
if [ "$PLUGIN_PURGE" == "true" ]; then
run_purge
run_cleanup
fi
run_cleanup
echo "--- end ssh-stack-deploy ---"
}