diff --git a/fs/fs.c b/fs/fs.c index 0e9c2f1062..c5c35ebf5f 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -801,6 +801,8 @@ int do_fs_type(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) else printf("%s\n", info->name); + fs_close(); + return CMD_RET_SUCCESS; }