]> git.proxmox.com Git - proxmox.git/commit - proxmox-sys/src/linux/procfs/mountinfo.rs
sys: mountinfo parsing fixups
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 17 Jan 2020 12:30:28 +0000 (13:30 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 17 Jan 2020 12:30:28 +0000 (13:30 +0100)
commitdf5eb296ccac1e5a52fdd7f4b874e249f9fbabd9
tree906029f9a491b3f71407b0518d5ff3a255a7f18e
parent3d9fdb5634eb969675f9988d15583a2fc83a07de
sys: mountinfo parsing fixups

* include the failing line on errors
* don't fail on the final empty line...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-sys/src/linux/procfs/mountinfo.rs