Signed-off-by: Hu XueJiao huxuejiao1@huawei.com --- bin/run-lkp | 1 + 1 file changed, 1 insertion(+)
diff --git a/bin/run-lkp b/bin/run-lkp index 26669331..c4d43db4 100755 --- a/bin/run-lkp +++ b/bin/run-lkp @@ -97,6 +97,7 @@ elif [ "$run_job_exit_code" != 0 ]; then else set_job_state 'failed' fi + $LKP_DEBUG_PREFIX $job_script on_fail elif [ -f '/var/log/wtmp' ] && has_cmd last && last -n1 | grep -q -E '(pts/|tty)[0-9].*(still logged in)'; then set_job_state 'disturbed' disturbed=1
Give more info for you patch.
Thanks, Xueliang
On Thu, Oct 29, 2020 at 09:03:44PM +0800, Hu Xuejiao wrote:
Signed-off-by: Hu XueJiao huxuejiao1@huawei.com
bin/run-lkp | 1 + 1 file changed, 1 insertion(+)
diff --git a/bin/run-lkp b/bin/run-lkp index 26669331..c4d43db4 100755 --- a/bin/run-lkp +++ b/bin/run-lkp @@ -97,6 +97,7 @@ elif [ "$run_job_exit_code" != 0 ]; then else set_job_state 'failed' fi
$LKP_DEBUG_PREFIX $job_script on_fail
elif [ -f '/var/log/wtmp' ] && has_cmd last && last -n1 | grep -q -E '(pts/|tty)[0-9].*(still logged in)'; then set_job_state 'disturbed' disturbed=1 -- 2.23.0
On Thu, Oct 29, 2020 at 09:03:44PM +0800, Hu Xuejiao wrote:
Signed-off-by: Hu XueJiao huxuejiao1@huawei.com
bin/run-lkp | 1 + 1 file changed, 1 insertion(+)
diff --git a/bin/run-lkp b/bin/run-lkp index 26669331..c4d43db4 100755 --- a/bin/run-lkp +++ b/bin/run-lkp @@ -97,6 +97,7 @@ elif [ "$run_job_exit_code" != 0 ]; then else set_job_state 'failed' fi
$LKP_DEBUG_PREFIX $job_script on_fail
whether or not sleep on fail should be up to the user.
elif [ -f '/var/log/wtmp' ] && has_cmd last && last -n1 | grep -q -E '(pts/|tty)[0-9].*(still logged in)'; then set_job_state 'disturbed' disturbed=1 -- 2.23.0