Skip to content

Commit

Permalink
Merge pull request #41 from streeter/redirect-fix
Browse files Browse the repository at this point in the history
Fix stdout redirect
  • Loading branch information
rhwood committed Apr 6, 2015
2 parents 7589431 + 31b1683 commit cdf7a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slave.jnlp.sh
Expand Up @@ -38,7 +38,7 @@ fi

# 'launchctl list org.jenkins-ci.slave.jnlp' exits true if this was run by a
# LaunchAgent, and exits false if this was run by a LaunchDaemon
if launchctl list org.jenkins-ci.slave.jnlp 2>1 >/dev/null ; then
if launchctl list org.jenkins-ci.slave.jnlp 2>&1 >/dev/null ; then
AGENT="--agent"
fi

Expand Down

0 comments on commit cdf7a1e

Please sign in to comment.