From f84fa6f7b98dd00ef6f196815b18590ca50c3528 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 22 Dec 2010 13:15:04 +0100 Subject: libmount: better work with mtab options Signed-off-by: Karel Zak --- shlibs/mount/src/tab_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shlibs/mount/src/tab_parse.c') diff --git a/shlibs/mount/src/tab_parse.c b/shlibs/mount/src/tab_parse.c index a6c14ffff..335f703aa 100644 --- a/shlibs/mount/src/tab_parse.c +++ b/shlibs/mount/src/tab_parse.c @@ -469,7 +469,7 @@ mnt_tab *__mnt_new_tab_from_file(const char *filename, int fmt) if (!filename) return NULL; - if (stat(filename, &st) || st.st_size == 0) + if (stat(filename, &st)) return NULL; tb = mnt_new_tab(); if (tb) { -- cgit v1.2.3-55-g7522