diff options
Diffstat (limited to 'cli_classic.c')
-rw-r--r-- | cli_classic.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli_classic.c b/cli_classic.c index 4ae375cfa..ccf75e91d 100644 --- a/cli_classic.c +++ b/cli_classic.c @@ -357,14 +357,13 @@ int main(int argc, char *argv[]) #if CONFIG_PRINT_WIKI == 1 if (list_supported_wiki) { print_supported_wiki(); - ret = 0; goto out; } #endif if (list_supported) { - print_supported(); - ret = 0; + if (print_supported()) + ret = 1; goto out; } |