fix hanatool, local at wrong spot

This commit is contained in:
2025-09-24 20:02:49 +02:00
parent 69ccad02e2
commit 7ba2f3565e
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
# Version: 1.4.2
# Version: 1.4.3
# ==============================================================================
# SAP HANA Schema and Tenant Management Tool (hanatool.sh)
#
@@ -365,7 +365,7 @@ case "$ACTION" in
EXIT_CODE=$?
fi
local target_schema_name="${NEW_SCHEMA_NAME:-$SCHEMA_NAME}"
target_schema_name="${NEW_SCHEMA_NAME:-$SCHEMA_NAME}"
if [[ "$EXIT_CODE" -eq 0 ]]; then
echo "✅ Successfully imported schema."
send_notification "${ACTION} of schema '${SCHEMA_NAME}' to '${target_schema_name}' completed successfully."