Send error message to stderr

From: Michael Prokop <mprokop@sipwise.com>
0.1
Michael Prokop 14 years ago
parent 07943bac63
commit d41d6276a9

@ -92,8 +92,8 @@ apply_revision() {
if mysql -usipwise -p${SIPWISE_DB_PASSWORD} < "$rev" ; then if mysql -usipwise -p${SIPWISE_DB_PASSWORD} < "$rev" ; then
echo done echo done
else else
echo "failed. :(" echo "failed. :(" >&2
echo "Please resolve the problem and run ngcp-update-db-schema again." echo "Please resolve the problem and run ngcp-update-db-schema again." >&2
exit 1 exit 1
fi fi

Loading…
Cancel
Save