Skip to content

Commit

Permalink
forced DEBUG var to be passed through ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
ppbrown committed Mar 31, 2017
1 parent e7b016a commit 4a897b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion zrep
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,8 @@ zrep_ssh(){
ssh_cmd="eval"
;;
*)
ssh_cmd="$SSH $1"
# by default, DEBUG doesnt get passed through ssh
ssh_cmd="$SSH DEBUG=${DEBUG} $1"
;;
esac
shift
Expand Down
3 changes: 2 additions & 1 deletion zrep_vars
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ zrep_ssh(){
ssh_cmd="eval"
;;
*)
ssh_cmd="$SSH $1"
# by default, DEBUG doesnt get passed through ssh
ssh_cmd="$SSH DEBUG=${DEBUG} $1"
;;
esac
shift
Expand Down

0 comments on commit 4a897b5

Please sign in to comment.