Skip to content

Commit d636957

Browse files
vivekrnvrajkumar38
authored andcommitted
[Techsupport] Update the message seen during the lock acquisition failure (sonic-net#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.
1 parent 0bde890 commit d636957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate_dump

+1-1
Original file line numberDiff line numberDiff line change
@@ -2074,7 +2074,7 @@ else
20742074
rm_lock_and_exit
20752075
else
20762076
# Lock is valid and the other instance is active. Exit Now
2077-
echo "Accquiring lock failed, PID ${PID_PROG} is active" >&2
2077+
echo "Another instance of techsupport running with PID: ${PID_PROG}, please retry after some time..." >&2
20782078
exit $EXT_LOCKFAIL
20792079
fi
20802080
fi

0 commit comments

Comments
 (0)