summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-27 22:26:56 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-27 22:26:56 (EDT)
commitaeb7cd1c2d1ab3ad77cfdebbeb3b76887548cb8e (patch)
treea8ab91f31a6c05fb75b663baeee08e90c1b46f76
parent26aa1c83c76e72d9ed472e7dd4fbe2ad041a774c (diff)
srand(): Fix case value
-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
;;