# | Line 12 | Line 12 | |
---|---|---|
12 | #include <sys/types.h> | |
13 | #include <sys/stat.h> | |
14 | #include <fcntl.h> | |
15 | + | |
16 | + | #ifdef _Zweihander_ |
17 | #include <fts.h> | |
18 | + | #endif |
19 | ||
20 | #include "common.h" | |
21 | ||
# | Line 115 | Line 118 | int main(int argc, char *argv[]) | |
118 | check(setenv("USER", user, 1), environment); | |
119 | check(setenv("NAME", name, 1), environment); | |
120 | check(setenv("FILE", slappasswd, 1), environment); | |
121 | + | setshells(shells + bash, environment); |
122 | check(execl("/ccs/bin/adduser.sh", argv[0], NULL), environment); | |
123 | } | |
124 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |