]> git.pld-linux.org Git - packages/amanda.git/commitdiff
- fix case when device passed to amlvm-snapshot is in the form /dev/VG/LV auto/th/amanda-3.3.4-2
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 6 Dec 2013 18:37:18 +0000 (19:37 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 6 Dec 2013 18:37:18 +0000 (19:37 +0100)
- rel 2

amanda.spec
amlvm-snapshot.pl

index 8ce0ebc3cc81a555132b08bf352187f23dba554b..2d3ad6aae0106289cb6b67bdd7dc31d3b4049bdb 100644 (file)
@@ -10,7 +10,7 @@ Summary:      A network-capable tape backup solution
 Summary(pl.UTF-8):     Sieciowo zorientowany system tworzenia kopii zapasowych
 Name:          amanda
 Version:       3.3.4
-Release:       1
+Release:       2
 License:       BSD
 Group:         Networking/Utilities
 Source0:       http://downloads.sourceforge.net/amanda/%{name}-%{version}.tar.gz
index afca14f8e311eb8c219e2e1f5c6b7ae2bbb0bf35..4034455e812ec0d08dd3597bc882c3b086ecec98 100644 (file)
@@ -281,7 +281,7 @@ sub resolve_device {
         my $real_device = $self->readlink($device);
         chomp($real_device);
 
-        if ($real_device eq $mnt_device) {
+        if (($device eq $mnt_device) || ($real_device eq $mnt_device)) {
             $self->{device} = $device;
             $self->{volume_group} = $group;
             $self->{fs_type} = $fs_type;
This page took 0.082319 seconds and 4 git commands to generate.