Browse Source

This corrects a bug where onto_proc_filesystem was edited incorrectly and wasn't

checking for the proc_dev return value in the way originally intended.
master
freesource 24 years ago
parent
commit
b04224d6f1
  1. 9
      BootRoot/Yard.pm

9
BootRoot/Yard.pm

@ -1660,11 +1660,12 @@ sub onto_proc_filesystem {
my($sdev) = (stat($file))[0];
my($ldev) = (lstat($file))[0];
if ($sdev) {
$sdev = $proc_dev;
if ($sdev && $sdev == $proc_dev) {
return $proc_dev;
}
elsif ($ldev) {
$ldev = $proc_dev;
elsif ($ldev && $ldev == $proc_dev) {
return $proc_dev;
}
}

Loading…
Cancel
Save