mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2024-12-22 13:34:16 +03:00
directory: fix verify-dir code style
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
97edd11f6b
commit
574fb9ad11
@ -355,8 +355,7 @@ PVE::JSONSchema::register_format('pve-dir-override', \&verify_dir_override);
|
||||
sub verify_dir_override {
|
||||
my ($value, $noerr) = @_;
|
||||
|
||||
if($value =~ m/^([a-z]+)=\/.+$/ &&
|
||||
verify_content($1, $noerr)) {
|
||||
if ($value =~ m/^([-a-z]+)=\/.+$/ && verify_content($1, $noerr)) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user