Skip to content

Commit

Permalink
Merge pull request #95 from cloudfoundry-community/stdout-errands
Browse files Browse the repository at this point in the history
errands: redirect stderr to stdout for clean bosh2 run-errand output
  • Loading branch information
jhunt committed Mar 31, 2017
2 parents e93c6ff + 1cf697e commit b249eb9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

exec 2>&1

set -e # exit immediately if a simple command exits with a non-zero status
set -u # report the usage of uninitialized variables

Expand All @@ -9,4 +11,3 @@ source /var/vcap/jobs/<%= job_name %>/helpers/ctl_setup.sh '<%= job_name %>'
############################################################################

# put your errand steps here...

0 comments on commit b249eb9

Please sign in to comment.