fix wrong syntax
This commit is contained in:
parent
0c23335317
commit
a3195297d7
@ -182,7 +182,7 @@ function ufw-docker--service-allow() {
|
||||
fi
|
||||
|
||||
declare service_id="$(ufw-docker--get-service-id "${service_name}")"
|
||||
[[ -z "$service_id:-" ]] && die "Could not find service \"$service_name\""
|
||||
[[ -z "${service_id:-}" ]] && die "Could not find service \"$service_name\""
|
||||
|
||||
service_name="$(ufw-docker--get-service-name "${service_name}")"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user