Re: [OpenWrt-Devel] Hang on setting $PROMPT in master

2019-10-21 Thread Koen Vandeputte
On 21.10.19 17:04, Martin Tippmann wrote: We are using a shell-function to set the prompt based on return code - it works fine in 17.01 / 18.06 / 19.07, however in current master when the function is run the terminal/ssh session hangs. how to reproduce: <--- hang.sh: #!/bin/sh You could a

Re: [OpenWrt-Devel] Hang on setting $PROMPT in master

2019-10-21 Thread Jo-Philipp Wich
Hi, might be related to this: http://lists.busybox.net/pipermail/busybox/2019-October/087535.html Regards, Jo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Hang on setting $PROMPT in master

2019-10-21 Thread Martin Tippmann
We are using a shell-function to set the prompt based on return code - it works fine in 17.01 / 18.06 / 19.07, however in current master when the function is run the terminal/ssh session hangs. how to reproduce: <--- hang.sh: #!/bin/sh prompt_set() { face() { local rc=$? case "$rc"