From d41d6276a9e7928880f2ce319abdfc97d6fe31a6 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 2 Apr 2012 09:51:20 +0000 Subject: [PATCH] Send error message to stderr From: Michael Prokop --- ngcp-update-db-schema | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ngcp-update-db-schema b/ngcp-update-db-schema index fcf0bb80..6fc5a24b 100755 --- a/ngcp-update-db-schema +++ b/ngcp-update-db-schema @@ -92,8 +92,8 @@ apply_revision() { if mysql -usipwise -p${SIPWISE_DB_PASSWORD} < "$rev" ; then echo done else - echo "failed. :(" - echo "Please resolve the problem and run ngcp-update-db-schema again." + echo "failed. :(" >&2 + echo "Please resolve the problem and run ngcp-update-db-schema again." >&2 exit 1 fi