Commit 4bc262dd authored by fwinkler's avatar fwinkler

Fixed bug.

Replaced exit with return as this function must not exit when called from prolog, epilog or post processing scripts.
parent 3925dc62
......@@ -7,7 +7,7 @@ function mysql_command()
result=$(${MYSQL_COMMAND} "${1}" 2>> $DEBUG_PATH)
if [ $? -ne 0 ]; then
echo -e "Error in MySQL Query.\nexit" >> $DEBUG_PATH 2>&1
exit
return
fi
echo $result
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment