Skip to content

Commit

Permalink
[Techsupport] Update the message seen during the lock acquisition fai…
Browse files Browse the repository at this point in the history
…lure (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.
  • Loading branch information
vivekrnv authored and rajkumar38 committed Jul 25, 2023
1 parent 0bde890 commit d636957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_dump
Original file line number Diff line number Diff line change
Expand Up @@ -2074,7 +2074,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

0 comments on commit d636957

Please sign in to comment.