Skip to content
Snippets Groups Projects
Commit 814b6614 authored by Hector Palacios's avatar Hector Palacios Committed by Tom Rini
Browse files

cmd_fuse: return CMD_RET_FAILURE on error


Fuse drivers, like the mxs_ocotp.c, may return negative error codes but
the commands are only allowed to return CMD_RET_* enum values to the
shell, otherwise the following error appears:

	"exit not allowed from main input shell."

Signed-off-by: default avatarHector Palacios <hector.palacios@digi.com>
Reviewed-by: default avatarBenoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
parent a5a83dc9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment