diff options
author | Richard Ipsum <richardipsum@fastmail.co.uk> | 2015-04-07 12:29:34 +0100 |
---|---|---|
committer | Richard Ipsum <richardipsum@fastmail.co.uk> | 2015-04-07 12:29:34 +0100 |
commit | 1cfe723160317b3f274c0e42d3455516ced003f9 (patch) | |
tree | 2b9e521fa93f937f45612452d7b6095292fb1d6b | |
parent | 938f77800087e8b8b7bb4d6e66df93cd2af34a5c (diff) | |
download | definitions-1cfe723160317b3f274c0e42d3455516ced003f9.tar.gz |
entire line >.>
-rw-r--r-- | swift-storage.configure | 2 |
1 files changed, 1 insertions, 1 deletions
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 |