]> granicus.if.org Git - shadow/commitdiff
* src/pwunconv.c: Only check USE_TCB if configured WITH_TCB.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 11 Mar 2010 22:02:54 +0000 (22:02 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Thu, 11 Mar 2010 22:02:54 +0000 (22:02 +0000)
ChangeLog
src/pwunconv.c

index 99d1f9bd6b302f416f9f186f381709e6f68e092c..f21ac4bcac71ee0b77cb6862a212d420b88fdc8e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index f49a9f7a2ef22081191df6875cb093af70926d10..828767182eb83b6146b37d9c1899b124a6cd3fee 100644 (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 */