* src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.

This commit is contained in:
nekral-guest 2010-03-11 22:02:54 +00:00
parent 59910c45d5
commit 5cd1d6e287
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-03-11 Nicolas François <nicolas.francois@centraliens.net>
* src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
2010-03-10 Nicolas François <nicolas.francois@centraliens.net>
* src/userdel.c: Re-indent.

View File

@ -93,10 +93,12 @@ int main (int argc, char **argv)
OPENLOG ("pwunconv");
#ifdef WITH_TCB
if (getdef_bool("USE_TCB")) {
fprintf(stderr, _("%s: can't work with tcb enabled\n"), Prog);
exit(1);
}
#endif /* WITH_TCB */
if (!spw_file_present ()) {
/* shadow not installed, do nothing */