Whamcloud - gitweb
mke2fs.c: return error when failed to populate fs
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 14 Apr 2014 15:43:24 +0000 (11:43 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 14 Apr 2014 15:43:27 +0000 (11:43 -0400)
commit2af02215375802d67d8e28341cf408cd1e4ed4e6
tree6ca3885f8d9c8d17a488200a3ad11f4748c7167c
parent7a5081dc3004e01b673b897a24ef297001be648b
mke2fs.c: return error when failed to populate fs

We need return retval when "mke2fs -d" failed, otherwise the "$?"
would be 0 which is misleading.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
misc/mke2fs.c