Fix: shellfuncs: fix syntax error caused by exit_reason support for dash shell.
Merge pull request #502 from davidvossel/master

Fix: shellfuncs: fix syntax error caused by exit_reason support for dash shell