Skip to content
Snippets Groups Projects
Unverified Commit 5604002a authored by Daniel's avatar Daniel
Browse files

FIX: Fixed faulty merge.

parent d53971d2
No related branches found
No related tags found
No related merge requests found
......@@ -44,13 +44,12 @@ function mysql_execute {
# Takes a filename with commands instead of command line arguments
function mysql_execute_file {
set +e
$CMD_MYSQL $MYSQL_CONNECTION < "$1"
set -e
$MYSQL_CMD $(get_db_args) < "$1"
ret=${PIPESTATUS[0]}
if [ "$ret" -ne 0 ]; then
failure "MYSQL ERROR"
fi
set -e
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment