umount: ignore missing /proc/swaps
authorMichael Olbrich <m.olbrich@pengutronix.de>
Tue, 28 Jun 2011 07:30:08 +0000 (09:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Jul 2011 22:26:23 +0000 (00:26 +0200)
commitdee87d612d295d9c8642b76c716b8e357411e65a
treef0742ed327b6d76877965b31a2d9f83e1f966350
parente05b415e950a548146c6f6dd799dc7d2b7d7892b
umount: ignore missing /proc/swaps

/proc/swaps does not exist when swap is disabled in the kernel.
Just report an empty list of mountpoints to unmount in this case.
src/umount.c