Permalink
Browse files

print info/error to stderr instead of stdout (#291)

  • Loading branch information...
aelindeman authored and aelsabbahy committed Sep 21, 2017
1 parent 02c19d6 commit 4f1f0e424299df1dfa90c404ba4b35ee9ac358c5
Showing with 7 additions and 2 deletions.
  1. +7 −2 extras/dgoss/dgoss
View
@@ -5,8 +5,13 @@ set -e
USAGE="USAGE: $(basename "$0") [run|edit] <docker_run_params>"
GOSS_FILES_PATH="${GOSS_FILES_PATH:-.}"
info() { echo -e "INFO: $*"; }
error() { echo -e "ERROR: $*";exit 1; }
info() {
echo -e "INFO: $*" >&2;
}
error() {
echo -e "ERROR: $*" >&2;
exit 1;
}
cleanup() {
set +e

0 comments on commit 4f1f0e4

Please sign in to comment.