From 1cfe723160317b3f274c0e42d3455516ced003f9 Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Tue, 7 Apr 2015 12:29:34 +0100 Subject: entire line >.> --- swift-storage.configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift-storage.configure b/swift-storage.configure index d2b72d35..9305c195 100644 --- a/swift-storage.configure +++ b/swift-storage.configure @@ -23,7 +23,7 @@ validate_number() { local name="$1" local value="$2" - local pattern='[0-9]+' + local pattern='^[0-9]+$' if ! [[ $value =~ $pattern ]] then echo "'$name' must be a number" >&2 -- cgit v1.2.1