Skip to content

Commit 32c73b9

Browse files
committed
stats/wrapper: switch to simple stderr for several warnings
Signed-off-by: Philip Li <philip.li@intel.com>
1 parent 0780adb commit 32c73b9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stats/wrapper

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ check_die()
5656
[[ -f $RESULT_ROOT/last_state ]] || return 0
5757

5858
grep -q "exit_code.99: 1" $RESULT_ROOT/last_state && {
59-
log_warn "job exited due to die" "$RESULT_ROOT"
59+
echo "job exited due to die: $RESULT_ROOT" 1>&2
6060
return 1
6161
}
6262

@@ -70,7 +70,7 @@ check_env_issue()
7070
[[ -f $RESULT_ROOT/last_state ]] || return 0
7171

7272
grep -q "wget_initrd_fail: 1" $RESULT_ROOT/last_state && {
73-
log_warn "job exited due to wget_initrd_fail" "$RESULT_ROOT"
73+
echo "job exited due to wget_initrd_fail: $RESULT_ROOT" 1>&2
7474
return 1
7575
}
7676

0 commit comments

Comments
 (0)