From 77adfbf4605bddeb1211586bb4ea4b1042ddbcd5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 15 Sep 2003 21:27:33 +0000 Subject: Fix from gregory@networksentry.co.za, don't clobber the comment if it exists. Jeremy. (This used to be commit a7ef2ce34931d9fcdeb8ecbcad981d96db4c409a) --- source3/utils/net_groupmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/utils/net_groupmap.c') 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 ); -- cgit