Make __cdist_exit_err write on stderr :-)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-17 16:07:07 +01:00
commit b1c5012f3c
3 changed files with 3 additions and 3 deletions

View file

@ -19,12 +19,11 @@
#
#
# Generate code from one object (object must be relative path!)
# WARNING: OUTPUT ON STDOUT, ERRORS NEED TO BE ON STDERR!
#
. cdist-config
[ $# -eq 3 ] || __cdist_usage "<target host>" "<object_base_dir>" "<object>"
set -u
export __cdist_target_host="$1"; shift