/[smeserver]/rpms/e-smith-backup/sme10/e-smith-backup-2.6.0-replacehal.patch
ViewVC logotype

Diff of /rpms/e-smith-backup/sme10/e-smith-backup-2.6.0-replacehal.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by chrissn, Tue Feb 9 21:41:18 2021 UTC Revision 1.3 by chrissn, Fri Feb 12 18:52:48 2021 UTC
# Line 9  diff -urN e-smith-backup-2.6.0.old/root/ Line 9  diff -urN e-smith-backup-2.6.0.old/root/
9    
10   sub ldie;   sub ldie;
11   sub start_dar_killer;   sub start_dar_killer;
12  @@ -312,77 +313,61 @@  @@ -312,77 +313,60 @@
13       return $code;       return $code;
14   }   }
15    
# Line 89  diff -urN e-smith-backup-2.6.0.old/root/ Line 89  diff -urN e-smith-backup-2.6.0.old/root/
89  -            if ($vollbl eq $share) {$device = $blkdev;}  -            if ($vollbl eq $share) {$device = $blkdev;}
90  +        if ( ${$valid}[0] ) {  +        if ( ${$valid}[0] ) {
91  +            foreach ( @{$valid} ) {  +            foreach ( @{$valid} ) {
 +                warn $_;  
92  +                $vollbl = $devices->label($_);  +                $vollbl = $devices->label($_);
93  +                if ( $share eq "media/$vollbl" ) {  +                if ( $share eq "media/$vollbl" ) {
94  +                    $device = "/dev/$_";  +                    $device = "/dev/$_";


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed