diff options
Diffstat (limited to 'sysdeps/posix')
-rw-r--r-- | sysdeps/posix/spawni.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/posix/spawni.c b/sysdeps/posix/spawni.c index b138ab4393..c42fbd590e 100644 --- a/sysdeps/posix/spawni.c +++ b/sysdeps/posix/spawni.c @@ -209,6 +209,11 @@ __spawni_child (void *arguments) != action->action.dup2_action.newfd) goto fail; break; + + case spawn_do_chdir: + if (__chdir (action->action.chdir_action.path) != 0) + goto fail; + break; } } } |