summaryrefslogtreecommitdiff
path: root/source3/utils/net_groupmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_groupmap.c')
-rw-r--r--source3/utils/net_groupmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index f99876bbd8..323f4afbc3 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -274,10 +274,10 @@ static int net_groupmap_add(int argc, const char **argv)
sid_to_string(string_sid, &sid);
}
- if (ntcomment[0])
+ if (!ntcomment[0])
fstrcpy(ntcomment, "Local Unix group");
- if ( !ntgroup[0] )
+ if (!ntgroup[0] )
fstrcpy( ntgroup, unixgrp );