mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2024-11-29 03:23:16 +01:00
Merge pull request #2 from ulope/master
Fixed --prefix and --sep regexes
This commit is contained in:
commit
b5bf1149ca
@ -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
|
||||
;;
|
||||
@ -278,7 +278,7 @@ do
|
||||
;;
|
||||
(--sep)
|
||||
case "$2" in
|
||||
([[:alnum:]_-.:\ ])
|
||||
([[:alnum:]_.:\ -])
|
||||
:
|
||||
;;
|
||||
('')
|
||||
|
Loading…
Reference in New Issue
Block a user