* lib/tcbfuncs.c: Removed dead return.
This commit is contained in:
@ -17,6 +17,7 @@
|
|||||||
* lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
|
* lib/tcbfuncs.c: Avoid implicit signed to unsigned conversions.
|
||||||
* lib/tcbfuncs.c: Avoid integer to char conversions.
|
* lib/tcbfuncs.c: Avoid integer to char conversions.
|
||||||
* lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
|
* lib/tcbfuncs.c: Include prototypes.h for the definition of Prog.
|
||||||
|
* lib/tcbfuncs.c: Removed dead return.
|
||||||
|
|
||||||
2010-03-17 Nicolas François <nicolas.francois@centraliens.net>
|
2010-03-17 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
@ -486,7 +486,6 @@ shadowtcb_status shadowtcb_create(const char *name, uid_t uid)
|
|||||||
if (mkdir(dir, 0700) != 0) {
|
if (mkdir(dir, 0700) != 0) {
|
||||||
fprintf(stderr, _("%s: mkdir: %s: %s\n"), Prog, dir, strerror(errno));
|
fprintf(stderr, _("%s: mkdir: %s: %s\n"), Prog, dir, strerror(errno));
|
||||||
goto out_free;
|
goto out_free;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
fd = open(shadow, O_RDWR | O_CREAT | O_TRUNC, 0600);
|
fd = open(shadow, O_RDWR | O_CREAT | O_TRUNC, 0600);
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
|
Reference in New Issue
Block a user