Skip to content

Commit

Permalink
Merge pull request #83 from mssonicbld/sonicbld/202305-merge
Browse files Browse the repository at this point in the history
[code sync] Merge code from sonic-net/sonic-utilities.msft:202305 to 202305
  • Loading branch information
mssonicbld authored Jul 19, 2024
2 parents 6968968 + b9d2c20 commit 834adc7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/generate_dump
Original file line number Diff line number Diff line change
Expand Up @@ -2079,6 +2079,10 @@ while getopts ":xnvhzas:t:r:d" opt; do
date --date="${SINCE_DATE}" &> /dev/null || abort "${EXT_INVALID_ARGUMENT}" "Invalid date expression passed: '${SINCE_DATE}'"
;;
t)
if ! [[ ${OPTARG} =~ ^[0-9]+$ ]]; then
echo "Invalid timeout value: ${OPTARG}, Please enter a numeric value."
exit $EXT_GENERAL
fi
TIMEOUT_MIN="${OPTARG}"
;;
r)
Expand Down

0 comments on commit 834adc7

Please sign in to comment.