Skip to content

Commit 25fc34c

Browse files
committed
Fixed dokku not working when executed as dokku user
1 parent c8bcc42 commit 25fc34c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎plugins/acl/verify-command‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "$(dirname $0)/vars"
44

55
cat
66

7-
[[ -z "$NAME" ]] && [[ $(id -un) != "root" ]] && fail "Access denied. No user supplied."
7+
[[ -z "$NAME" ]] && [[ $(id -un) != "root" ]] && [[ $(id -un) != "dokku" ]] && fail "Access denied. No user supplied."
88

99
if [[ "$NAME" != "deploy" ]]; then
1010
# Allow everything

0 commit comments

Comments
 (0)