Print to STDERR when dying

Signed-off-by: Teemu Matilainen <teemu.matilainen@reaktor.fi>
This commit is contained in:
Teemu Matilainen 2010-11-16 18:19:19 +02:00 committed by Sitaram Chamarty
parent 5ce22e135d
commit d8179f09bf
5 changed files with 5 additions and 5 deletions

View file

@ -18,7 +18,7 @@ GL_PACKAGE_CONF=/tmp/share/gitolite/conf
# pubkey file if you happen to have lost all gitolite-access to the repos (but
# do have shell access via some other means)
die() { echo "$@"; exit 1; }
die() { echo "$@"; exit 1; } >&2
TEMPDIR=$(mktemp -d -t tmp.XXXXXXXXXX)
export TEMPDIR