From 236f57e6ae5fed59352592928246f73403bb9503 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 30 Aug 2017 15:44:33 +0100 Subject: [PATCH] Unhide errors from check_uptodate.sh Displays execution errors instead of hiding them. Change-Id: I8f723d17dffb96f2aa07e7b584fa124af1441592 Signed-off-by: Sorin Sbarnea --- tools/config/check_uptodate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/config/check_uptodate.sh b/tools/config/check_uptodate.sh index 77dcce064c3..cff68bd99b7 100755 --- a/tools/config/check_uptodate.sh +++ b/tools/config/check_uptodate.sh @@ -7,8 +7,9 @@ if [ ! -e cinder/opts.py ]; then exit 1 else mv cinder/opts.py cinder/opts.py.orig - tox -e genopts &> /dev/null + tox -e genopts &> tox-genops.log if [ $? -ne 0 ]; then + cat tox-genops.log >&2 echo -en "\n\n#################################################" echo -en "\nERROR: Non-zero exit from generate_cinder_opts.py." echo -en "\n See output above for details.\n"