don't require sudo for tailing logs since we're root anyway

This commit is contained in:
Michael Hobbs committed 2015-09-15 10:15:22 -07:00
1 parent cca49230d9
commit 72a1b76b63
3 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ if [[ "${args[0]}" =~ ^--.* ]]; then
fi
! has_tty && DOKKU_QUIET_OUTPUT=1
if [[ $(id -un) != "dokku" && $1 != plugin:*install* && $1 != "plugin:update" ]]; then
if [[ $(id -un) != "dokku" && $1 != plugin:*install* && $1 != "plugin:update" && $1 != nginx:*-logs ]]; then
sudo -u dokku -E -H $0 "$@"
exit
fi