diff options
author | P. 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) |
commit | aeb7cd1c2d1ab3ad77cfdebbeb3b76887548cb8e (patch) | |
tree | a8ab91f31a6c05fb75b663baeee08e90c1b46f76 /lib | |
parent | 26aa1c83c76e72d9ed472e7dd4fbe2ad041a774c (diff) |
srand(): Fix case value
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rand.sh | 2 |
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 ;; |