Skip to content

Commit 5498cfc

Browse files
committed
Fixed log message overwriting failed return code
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent c3387a3 commit 5498cfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-scripts/test-on-testmachine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ log_debug "Executing tests on test machine..."
2929
if remote_script_general "$SCRIPT" "$LOGIN_COMMAND" "$BASEDIR"; then
3030
return_code=0
3131
else
32-
log_debug "Failed to execute tests on test machine..."
3332
return_code=$?
33+
log_debug "Failed to execute tests on test machine..."
3434
fi
3535

3636
# Look for lingering processes after running tests.

0 commit comments

Comments
 (0)