summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/rand.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rand.sh b/lib/rand.sh
index 19d6e9f..18d7749 100644
--- a/lib/rand.sh
+++ b/lib/rand.sh
@@ -31,7 +31,7 @@ srand()
local x="${1}"
case "${x}" in
- [!0-9])
+ *[!0-9]*)
warn "$(get_msg 'rand_bad_x')"
return 1
;;