chiark / gitweb /
mount: Don't stop the mountinfo parser if one line can't be read
authorFabiano FidĂȘncio <fabianofidencio@gmail.com>
Tue, 5 Oct 2010 15:41:06 +0000 (08:41 -0700)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Oct 2010 20:26:28 +0000 (22:26 +0200)
commit1ddff895f3ad85ec79c4923ba8c882a283826f42
treeecd1794ba74215a931623adf3971e04195032dbb
parent1bc5d57ae3bd2c49aca3bba10c4ed87c62213e39
mount: Don't stop the mountinfo parser if one line can't be read

The current behavior of the /proc/self/mountinfo parser
is to stop the parser on parse failures

I'm only changing this behavior to try the next line and adding
a warning if occurs a fail.
src/mount.c