From 423cf0b000964db5456f3238febac4809ef8f16c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 Jan 2018 13:57:14 +0100 Subject: bin/return-assignment: fix extraction of fail-reason identifier --- bin/return-assignment | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/return-assignment b/bin/return-assignment index 545d064..e14e93e 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -91,7 +91,8 @@ if [ "$5" = 'ERROR' ]; then printf 'INSERT INTO `failures` (`date`,`reason`,`log_file`) VALUES' fail_reason_identifiers=$( printf 'SELECT `fail_reasons`.`id`,to_base64(`fail_reasons`.`identifier`) FROM `fail_reasons` ORDER BY `fail_reasons`.`severity`' | \ - ${mysql_command} --batch + ${mysql_command} --raw --batch | \ + sed '1d' ) for saved_build_log in ${saved_build_logs}; do printf '%s' "${fail_reason_identifiers}" | \ -- cgit v1.2.3-70-g09d2