# | Line 109 | Line 109 | int main(int argc, char *argv[]) | |
---|---|---|
109 | ||
110 | check(pipe(pipe_), environment); | |
111 | ||
112 | < | pid_t bash; |
112 | > | pid_t bash_; |
113 | ||
114 | < | if (!(bash = check(fork(), environment))) |
114 | > | if (!(bash_ = check(fork(), environment))) |
115 | { | |
116 | check(dup2(pipe_[0], 0), environment); | |
117 | check(close(pipe_[1]), environment); | |
# | Line 134 | Line 134 | int main(int argc, char *argv[]) | |
134 | ||
135 | int status; | |
136 | ||
137 | < | check(waitpid(bash, &status, 0), environment); |
137 | > | check(waitpid(bash_, &status, 0), environment); |
138 | check(unlink(slappasswd), environment); | |
139 | ||
140 | if (WEXITSTATUS(status)) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |