fix mountpoint test to not prevemt mkfs_xxx from making image in any file
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -119,7 +119,7 @@ int df_main(int argc, char **argv)
|
||||
mount_point = *argv++;
|
||||
if (!mount_point)
|
||||
break;
|
||||
mount_entry = find_mount_point(mount_point);
|
||||
mount_entry = find_mount_point(mount_point, 1);
|
||||
if (!mount_entry) {
|
||||
bb_error_msg("%s: can't find mount point", mount_point);
|
||||
set_error:
|
||||
|
Reference in New Issue
Block a user