diff options
author | axel <axel@liljencrantz.se> | 2006-06-13 02:51:37 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-13 02:51:37 +1000 |
commit | 2e5821c17df189a8885b4a3bfb81e7192ee9d1a3 (patch) | |
tree | fa6e35510fa7778431fdd7497942396f5bd6e1d5 /builtin.c | |
parent | f46145a6b3f3bbab9328280cb1a6310d85f866c4 (diff) |
Do not change status when the 'exit' builtin is called with no argument
darcs-hash:20060612165137-ac50b-0281941e35c5f8b619460f67d24a89caec475815.gz
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1903,6 +1903,7 @@ static int builtin_exit( wchar_t **argv ) { case 1: { + ec = proc_get_last_status(); break; } |