Skip to content

Commit

Permalink
Change remote command printing. (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
ming13 authored and artem-zinnatullin committed Jan 23, 2017
1 parent 81601d3 commit cd9f948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainframer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function executeRemoteCommand {
startTime="$(date +%s)"

set +e
if ssh "$REMOTE_MACHINE" "echo 'set -e && cd '$PROJECT_DIR_ON_REMOTE_MACHINE' && echo \"$REMOTE_COMMAND\" && $REMOTE_COMMAND' | bash" ; then
if ssh "$REMOTE_MACHINE" "echo 'set -e && cd '$PROJECT_DIR_ON_REMOTE_MACHINE' && echo \"$REMOTE_COMMAND\" && echo "" && $REMOTE_COMMAND' | bash" ; then
REMOTE_COMMAND_SUCCESSFUL="true"
fi
set -e
Expand Down

0 comments on commit cd9f948

Please sign in to comment.