]> git.proxmox.com Git - pve-storage.git/commitdiff
followup: just use case sensitive flag, no manual hack
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 3 Sep 2019 07:42:15 +0000 (09:42 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 3 Sep 2019 07:42:15 +0000 (09:42 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage.pm

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