quote SERVICE_NAME value

This commit is contained in:
Jose Diaz-Gonzalez
2016-05-08 15:03:56 -04:00
parent 00ae636d01
commit ae962bb7bf
2 changed files with 8 additions and 8 deletions

View File

@@ -46,7 +46,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"