From 627a2f5990f363e626c59ae396fcf75bcb1f5228 Mon Sep 17 00:00:00 2001 From: Vivek Date: Sun, 16 Jul 2023 11:08:50 -0700 Subject: [PATCH] [Techsupport] Update the message seen during the lock acquisition failure (#2897) #### What I did When a second techsupport instance starts while one is running, the message thrown before exiting is not very user friendly. Thus updating the message for it to make more sense. --- scripts/generate_dump | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_dump b/scripts/generate_dump index 8af9e8533a..6f64e90ecc 100755 --- a/scripts/generate_dump +++ b/scripts/generate_dump @@ -1917,7 +1917,7 @@ else rm_lock_and_exit else # Lock is valid and the other instance is active. Exit Now - echo "Accquiring lock failed, PID ${PID_PROG} is active" >&2 + echo "Another instance of techsupport running with PID: ${PID_PROG}, please retry after some time..." >&2 exit $EXT_LOCKFAIL fi fi