Rev 3353 | Rev 3355 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3353 | Rev 3354 | ||
---|---|---|---|
Line 165... | Line 165... | ||
165 | getcwd(wdp, PATH_MAX); |
165 | getcwd(wdp, PATH_MAX); |
166 | } else { |
166 | } else { |
167 | if (-1 == (mkdir(dirs[i], 0))) { |
167 | if (-1 == (mkdir(dirs[i], 0))) { |
168 | cli_error(CL_EFAIL, |
168 | cli_error(CL_EFAIL, |
169 | "%s: failed at %s/%s", wdp, dirs[i]); |
169 | "%s: failed at %s/%s", wdp, dirs[i]); |
- | 170 | ret ++; |
|
170 | goto finit; |
171 | goto finit; |
171 | } |
172 | } |
172 | if (0 != (chdir(dirs[i]))) { |
173 | if (0 != (chdir(dirs[i]))) { |
173 | cli_error(CL_EFAIL, "%s: failed creating %s\n", |
174 | cli_error(CL_EFAIL, "%s: failed creating %s\n", |
174 | cmdname, dirs[i]); |
175 | cmdname, dirs[i]); |