Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
process: remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Feb 26, 2014
1 parent 6f98f4e commit d637784
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/unix/process.c
Expand Up @@ -302,7 +302,6 @@ static void uv__process_child_init(uv_process_options_t options,

if (use_fd == -1) {
uv__write_int(error_fd, errno);
perror("failed to open stdio");
_exit(127);
}
}
Expand All @@ -329,19 +328,16 @@ static void uv__process_child_init(uv_process_options_t options,

if (options.cwd && chdir(options.cwd)) {
uv__write_int(error_fd, errno);
perror("chdir()");
_exit(127);
}

if ((options.flags & UV_PROCESS_SETGID) && setgid(options.gid)) {
uv__write_int(error_fd, errno);
perror("setgid()");
_exit(127);
}

if ((options.flags & UV_PROCESS_SETUID) && setuid(options.uid)) {
uv__write_int(error_fd, errno);
perror("setuid()");
_exit(127);
}

Expand All @@ -351,7 +347,6 @@ static void uv__process_child_init(uv_process_options_t options,

execvp(options.file, options.args);
uv__write_int(error_fd, errno);
perror("execvp()");
_exit(127);
}

Expand Down

0 comments on commit d637784

Please sign in to comment.