summaryrefslogtreecommitdiff
path: root/sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'sh.c')
-rw-r--r--sh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh.c b/sh.c
index 28015cb..89325b6 100644
--- a/sh.c
+++ b/sh.c
@@ -426,6 +426,7 @@ static int builtin_export(struct child_prog *child)
for (e = environ; *e; e++) {
printf( "%s\n", *e);
}
+ return 0;
}
res = putenv(v);
if (res)