]> git.proxmox.com Git - pve-storage.git/commitdiff
fixup: use our to make $iso_extension_re value available for other modules
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 3 Sep 2019 07:41:50 +0000 (09:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 3 Sep 2019 07:41:50 +0000 (09:41 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage.pm

index 08b6e142e343d4f40eb5b0fd33e8f6f3f12ac24c..c86d4f49aa6a6dd0fb0eabbe63d9e4316aa020db 100755 (executable)
@@ -99,7 +99,7 @@ PVE::Storage::Plugin->init();
 
 my $UDEVADM = '/sbin/udevadm';
 
-my $iso_extension_re = qr/\.(?:[Ii][Ss][Oo]|[Ii][Mm][Gg])/;
+our $iso_extension_re = qr/\.(?:[Ii][Ss][Oo]|[Ii][Mm][Gg])/;
 
 #  PVE::Storage utility functions