Re: [PATCH] cli_hush: fix 'exit' cmd that was not exiting scripts

2022-11-25 Thread Marek Vasut
On 11/21/22 17:32, Hector Palacios wrote: On 11/21/22 09:55, Hector Palacios wrote: Hi Marek, On 11/19/22 15:12, Marek Vasut wrote: On 11/18/22 12:19, Hector Palacios wrote: Commit 8c4e3b79bd0bb76eea16869e9666e19047c0d005 supposedly passed one-level up the argument passed to 'exit' but it

Re: [PATCH] cli_hush: fix 'exit' cmd that was not exiting scripts

2022-11-21 Thread Hector Palacios
On 11/21/22 09:55, Hector Palacios wrote: Hi Marek, On 11/19/22 15:12, Marek Vasut wrote: On 11/18/22 12:19, Hector Palacios wrote: Commit 8c4e3b79bd0bb76eea16869e9666e19047c0d005 supposedly passed one-level up the argument passed to 'exit' but it also broke 'exit' purpose of stopping a

Re: [PATCH] cli_hush: fix 'exit' cmd that was not exiting scripts

2022-11-21 Thread Hector Palacios
Hi Marek, On 11/19/22 15:12, Marek Vasut wrote: On 11/18/22 12:19, Hector Palacios wrote: Commit 8c4e3b79bd0bb76eea16869e9666e19047c0d005 supposedly passed one-level up the argument passed to 'exit' but it also broke 'exit' purpose of stopping a script. In reality, even if 'do_exit()' is

Re: [PATCH] cli_hush: fix 'exit' cmd that was not exiting scripts

2022-11-19 Thread Marek Vasut
On 11/18/22 12:19, Hector Palacios wrote: Commit 8c4e3b79bd0bb76eea16869e9666e19047c0d005 supposedly passed one-level up the argument passed to 'exit' but it also broke 'exit' purpose of stopping a script. In reality, even if 'do_exit()' is capable of returning any integer, the cli only admits

[PATCH] cli_hush: fix 'exit' cmd that was not exiting scripts

2022-11-18 Thread Hector Palacios
Commit 8c4e3b79bd0bb76eea16869e9666e19047c0d005 supposedly passed one-level up the argument passed to 'exit' but it also broke 'exit' purpose of stopping a script. In reality, even if 'do_exit()' is capable of returning any integer, the cli only admits '1' or '0' as return values. This commit