Merge pull request #1419 from u2mejc/dokku-help-tty

Fix dokku ps <app> over ssh
This commit is contained in:
Michael Hobbs committed 2015-08-27 10:36:37 -07:00
commit 84fff1c2e2
1 file changed
+2 -1
+2 -1
View File
@@ -12,7 +12,8 @@ case "$1" in
! (is_deployed $APP) && echo "App $APP has not been deployed" && exit 0 ! (is_deployed $APP) && echo "App $APP has not been deployed" && exit 0
for CID in $CONTAINER_IDS; do for CID in $CONTAINER_IDS; do
docker exec -ti "$CID" /bin/sh -c "ps auxwww" has_tty && DOKKU_RUN_OPTS="-i -t"
docker exec $DOKKU_RUN_OPTS $CID /bin/sh -c "ps auxwww"
done done
;; ;;