diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-01-03 13:07:51 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-01-05 08:06:17 -0500 |
commit | 04f0cf2ce6140bcb3b38dccd4f9e44858b53a4fd (patch) | |
tree | d99b4f4416ff52241c23e74450413cd540882098 | |
parent | 375e3e477ef7ecc7147e99f740fd563f1b50f26e (diff) | |
download | sssd-04f0cf2ce6140bcb3b38dccd4f9e44858b53a4fd.tar.gz sssd-04f0cf2ce6140bcb3b38dccd4f9e44858b53a4fd.tar.xz sssd-04f0cf2ce6140bcb3b38dccd4f9e44858b53a4fd.zip |
Fix boolean comparison against string
Coverity 10082 and 100083
-rw-r--r-- | src/tools/sss_sync_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c index a92f8caa6..2553ead8c 100644 --- a/src/tools/sss_sync_ops.c +++ b/src/tools/sss_sync_ops.c @@ -29,8 +29,8 @@ /* Default settings for user attributes */ #define DFL_SHELL_VAL "/bin/bash" #define DFL_BASEDIR_VAL "/home" -#define DFL_CREATE_HOMEDIR "TRUE" -#define DFL_REMOVE_HOMEDIR "TRUE" +#define DFL_CREATE_HOMEDIR true +#define DFL_REMOVE_HOMEDIR true #define DFL_UMASK 077 #define DFL_SKEL_DIR "/etc/skel" #define DFL_MAIL_DIR "/var/spool/mail" |