Diff between 36e0a8f8173430a8b64bd6b46261e64478ecea94 and dfb579e50973d6499ebdc0ecc64e347b9064fb97
Changed Files
| File | Additions | Deletions | Status |
| src/shared/shell.c | +1 | -1 | modified |
Full Patch
diff --git a/src/shared/shell.c b/src/shared/shell.c
index 2958a66..30c1dfd 100644
--- a/src/shared/shell.c
+++ b/src/shared/shell.c
@@ -285,7 +285,7 @@ static int cmd_exec(const struct bt_shell_menu_entry *entry,
}
/* Check if there are enough arguments */
- if ((unsigned) argc - 1 < w.we_wordc && !w.we_offs) {
+ if ((unsigned) argc - 1 < w.we_wordc) {
print_text(COLOR_HIGHLIGHT, "Missing %s argument",
w.we_wordv[argc - 1]);
goto fail;