Cleaner debug output
This commit is contained in:
parent
bd46796bb7
commit
1915e28a0f
@ -48,12 +48,12 @@ function sql() {
|
|||||||
ERROR_OUTPUT=`cat "${ERROR_OUTPUT_FILE}"`
|
ERROR_OUTPUT=`cat "${ERROR_OUTPUT_FILE}"`
|
||||||
rm ${ERROR_OUTPUT_FILE}
|
rm ${ERROR_OUTPUT_FILE}
|
||||||
|
|
||||||
echo -n "- Code Result: "
|
echo -n "> Code Result: "
|
||||||
echo ${CODERESULT}
|
echo -n ${CODERESULT}
|
||||||
echo -n "- Result: "
|
echo -n "; Result: "
|
||||||
echo ${RESULT}
|
echo -n ${RESULT}
|
||||||
echo -n "- Error output: "
|
echo -n "; Error output: "
|
||||||
echo ${ERROR_OUTPUT}
|
echo -n ${ERROR_OUTPUT}
|
||||||
|
|
||||||
# Some warnings should actually be failures
|
# Some warnings should actually be failures
|
||||||
if [[ ${CODERESULT} == "0" ]]
|
if [[ ${CODERESULT} == "0" ]]
|
||||||
@ -67,13 +67,12 @@ function sql() {
|
|||||||
echo -n "FAILED BECAUSE OF PRIVILEGES REVOKING WARNING"
|
echo -n "FAILED BECAUSE OF PRIVILEGES REVOKING WARNING"
|
||||||
CODERESULT=1
|
CODERESULT=1
|
||||||
;;
|
;;
|
||||||
*) echo "All ok" ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "- New code result: "
|
echo -n "; New code result: "
|
||||||
echo ${CODERESULT}
|
echo ${CODERESULT}
|
||||||
echo "-------------"
|
|
||||||
|
|
||||||
if [[ ${CODERESULT} -ne 0 ]]
|
if [[ ${CODERESULT} -ne 0 ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user