diff options
Diffstat (limited to 'sh.c')
-rw-r--r-- | sh.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -426,6 +426,7 @@ static int builtin_export(struct child_prog *child) | |||
426 | for (e = environ; *e; e++) { | 426 | for (e = environ; *e; e++) { |
427 | printf( "%s\n", *e); | 427 | printf( "%s\n", *e); |
428 | } | 428 | } |
429 | return 0; | ||
429 | } | 430 | } |
430 | res = putenv(v); | 431 | res = putenv(v); |
431 | if (res) | 432 | if (res) |