git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8cbdf
)
Fix from gregory@networksentry.co.za, don't clobber the comment if it
author
Jeremy Allison
<jra@samba.org>
Mon, 15 Sep 2003 21:27:36 +0000
(21:27 +0000)
committer
Jeremy Allison
<jra@samba.org>
Mon, 15 Sep 2003 21:27:36 +0000
(21:27 +0000)
exists.
Jeremy.
(This used to be commit
c8bfde5be9f0a3603f7333ff4266ad19c20cb9f9
)
source3/utils/net_groupmap.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_groupmap.c
b/source3/utils/net_groupmap.c
index f99876bbd80cb3fcb4ba14c7783781ea34be65a1..323f4afbc3b778486d575c50d20352f7b380f9e0 100644
(file)
--- 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 );