diff options
author | Dave Reisner | 2012-03-02 04:46:59 +0100 |
---|---|---|
committer | Karel Zak | 2012-03-02 09:42:18 +0100 |
commit | eac83fbcf6476f82aca86fe9b69f60c3a9a43d92 (patch) | |
tree | 2131202e05bad5ef76ed05703c702c27ceaf7390 /libmount/src/tab.c | |
parent | wipefs: always print devname (diff) | |
download | kernel-qcow2-util-linux-eac83fbcf6476f82aca86fe9b69f60c3a9a43d92.tar.gz kernel-qcow2-util-linux-eac83fbcf6476f82aca86fe9b69f60c3a9a43d92.tar.xz kernel-qcow2-util-linux-eac83fbcf6476f82aca86fe9b69f60c3a9a43d92.zip |
mountpoint: account for error from in mnt_fs_get_target
commit 04f087ec didn't take into consideration that mnt_fs_get_target()
could return an error, and would therefore show false positives, such
as:
$ mkdir foo; mountpoint foo
foo is a mountpoint
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'libmount/src/tab.c')
0 files changed, 0 insertions, 0 deletions