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 Jul 16, 2023
1 parent b617d97 commit c301f3b
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 c301f3b

Please sign in to comment.