This commit is contained in:
tschettervictor
2025-03-18 16:25:41 -06:00
parent 8d6f7c9e28
commit 7ae59c8551
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ while [ "$#" -gt 0 ]; do
shift
;;
-d|--delay)
if [ -z "{2}" ] && ! echo "${2}" | grep -Eq '^[0-9]+$'; then
if [ -z "{2}" ] && ! echo "${2}" | grep -Eq "^[0-9]+$"; then
error_exit "[-d|--delay] requires a value."
else
DELAY_TIME="${2}"

View File

@@ -61,7 +61,7 @@ while [ "$#" -gt 0 ]; do
shift
;;
-d|--delay)
if [ -z "{2}" ] && ! echo "${2}" | grep -Eq '^[0-9]+$'; then
if [ -z "{2}" ] && ! echo "${2}" | grep -Eq "^[0-9]+$"; then
error_exit "[-d|--delay] requires a value."
else
DELAY_TIME="${2}"