mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-26 09:32:34 +01:00
client: Enable 'help', 'version' cmds in non-interactive mode
This commit is contained in:
parent
7df4f2e86b
commit
5afe4576a1
@ -509,8 +509,14 @@ void command_process_prompt(char **argv, int argc)
|
||||
return;
|
||||
|
||||
if (!interactive_mode) {
|
||||
if (command_match_misc_commands(argv, argc)) {
|
||||
exit_status = EXIT_SUCCESS;
|
||||
goto quit;
|
||||
}
|
||||
|
||||
display_error("Invalid command\n");
|
||||
exit_status = EXIT_FAILURE;
|
||||
quit:
|
||||
l_main_quit();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user