commit | b26ca136726aee3927c50b17241405fa93b36b64 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Fri Jun 22 18:50:50 2018 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Jun 22 15:09:18 2018 -0400 |
tree | 79fff403568772975c0375fe8edc8b60ed47550e | |
parent | c63363711d50276251c38859f2a02d4fcbefe5c2 [diff] |
shell: Fix command completion logic The original code (introduced by commit d5db35204a4) looked like this before the last rewrite/cleanup: if (default_module != -1) { return (str == NULL) ? dest : -1; } However with the cleanup the logic seems to have gotten reversed. Fixes #8501 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>