From aeb7cd1c2d1ab3ad77cfdebbeb3b76887548cb8e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 27 Aug 2014 22:26:56 -0400 Subject: srand(): Fix case value --- 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 ;; -- cgit v0.9.1