Skip to content

Commit

Permalink
Merge pull request zfsonlinux#2 from ulope/master
Browse files Browse the repository at this point in the history
Fixed --prefix and --sep regexes
  • Loading branch information
dajhorn committed Dec 28, 2011
2 parents d99147d + 5fc395c commit b5bf114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zfs-auto-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ do
while test "${#opt_prefix}" -gt '0'
do
case $opt_prefix in
([![:alnum:]_-.:\ ]*)
([![:alnum:]_.:\ -]*)
print_log error "The $1 parameter must be alphanumeric."
exit 130
;;
Expand All @@ -278,7 +278,7 @@ do
;;
(--sep)
case "$2" in
([[:alnum:]_-.:\ ])
([[:alnum:]_.:\ -])
:
;;
('')
Expand Down

0 comments on commit b5bf114

Please sign in to comment.