quote SERVICE_NAME value

This commit is contained in:
Jose Diaz-Gonzalez
2016-05-08 14:57:05 -04:00
parent 4c4f74fc9a
commit 108a02f61e
2 changed files with 8 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ case "$1" in
[[ -z $2 ]] && dokku_log_fail "Please specify a name for the service"
verify_service_name "$2"
SERVICE="$2"; SERVICE_ROOT="$PLUGIN_DATA_ROOT/$SERVICE"; LINKS_FILE="$SERVICE_ROOT/LINKS"
SERVICE_NAME=$(get_service_name "$SERVICE")
SERVICE_NAME="$(get_service_name "$SERVICE")"
[[ -s "$LINKS_FILE" ]] && dokku_log_fail "Cannot delete linked service"