Only close current input if there is a controlling terminal, i.e. !cli_Background.
commitc92386d94bc8c3f8eae9c909b7d415e8eca38236
authorweissms <weissms@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 18 Jun 2011 09:46:53 +0000 (18 09:46 +0000)
committerweissms <weissms@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 18 Jun 2011 09:46:53 +0000 (18 09:46 +0000)
tree00ebd11a0ac2a528bc9dfd75d355c69047865241
parent0a19fb085ff0ee9946e5366a1d5d8555c863ea0d
Only close current input if there is a controlling terminal, i.e. !cli_Background.

Fixes a double free recoverable alert after endcli resp. endshell command.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@39353 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/c/Shell/Shell.c