commit | 319a9cb4a5d8c9cb73d434b75f64ac01632940ef | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Jul 24 08:29:55 2020 +0200 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 28 19:30:39 2020 -0600 |
tree | 20e449df04302ab7825daa9baebac6234f96e85c | |
parent | d3aa90e35d6ec0c26e9122075ccd8d80f584c156 [diff] |
cmd: host: return value of do_host_bind() When trying to bind to a non-existent file the following output is displayed: => host bind 0 non_existent Failed to access host backing file 'non_existent' exit not allowed from main input shell. The last line is quite unexpected and due to an incorrect return value. If do_host_bind() fails, return CMD_RET_FAILURE (= 1). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>