diff --git a/src/df.c b/src/df.c
index 8eed1f548cb4f9d074cd272fd70c953199413aba..d327164ac601e3a98c59217122240b0e77b8ea4b 100644 (file)
--- a/src/df.c
+++ b/src/df.c
ignorelist_set_invert (il_mountpoint, 1);
ignorelist_set_invert (il_fstype, 1);
}
ignorelist_set_invert (il_mountpoint, 1);
ignorelist_set_invert (il_fstype, 1);
}
+ return (0);
}
return (-1);
}
return (-1);
mnt_name[i] = '-';
}
mnt_name[i] = '-';
}
- if (ignorelist_match (il_device, mnt_ptr->device))
+ if (ignorelist_match (il_device,
+ (mnt_ptr->spec_device != NULL)
+ ? mnt_ptr->spec_device
+ : mnt_ptr->device))
continue;
if (ignorelist_match (il_mountpoint, mnt_ptr->dir))
continue;
continue;
if (ignorelist_match (il_mountpoint, mnt_ptr->dir))
continue;