commit | 2af02215375802d67d8e28341cf408cd1e4ed4e6 | [log] [tgz] |
---|---|---|
author | Robert Yang <liezhi.yang@windriver.com> | Mon Apr 14 11:43:24 2014 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Apr 14 11:43:27 2014 -0400 |
tree | 6ca3885f8d9c8d17a488200a3ad11f4748c7167c | |
parent | 7a5081dc3004e01b673b897a24ef297001be648b [diff] |
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>