aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-13 02:51:37 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-13 02:51:37 +1000
commit2e5821c17df189a8885b4a3bfb81e7192ee9d1a3 (patch)
treefa6e35510fa7778431fdd7497942396f5bd6e1d5 /builtin.c
parentf46145a6b3f3bbab9328280cb1a6310d85f866c4 (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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.c b/builtin.c
index 41d460f5..e896ac91 100644
--- a/builtin.c
+++ b/builtin.c
@@ -1903,6 +1903,7 @@ static int builtin_exit( wchar_t **argv )
{
case 1:
{
+ ec = proc_get_last_status();
break;
}