summaryrefslogtreecommitdiffstats
path: root/src/tools/sss_groupmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/sss_groupmod.c')
-rw-r--r--src/tools/sss_groupmod.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/sss_groupmod.c b/src/tools/sss_groupmod.c
index 59ec10bab..48701adf6 100644
--- a/src/tools/sss_groupmod.c
+++ b/src/tools/sss_groupmod.c
@@ -121,9 +121,7 @@ int main(int argc, const char **argv)
goto fini;
}
/* check the username to be able to give sensible error message */
- ret = sysdb_getgrnam_sync(tctx, tctx->sysdb,
- tctx->octx->name, tctx->local,
- tctx->octx);
+ ret = sysdb_getgrnam_sync(tctx, tctx->sysdb, tctx->octx->name, tctx->octx);
if (ret != EOK) {
ERROR("Cannot find group in local domain, "
"modifying groups is allowed only in local domain\n");