summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index ab9e12e..5516dc5 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -3291,6 +3291,10 @@ cmd_gmerge (int interactive, char *data)
g = find_group (data);
- groups_merge (g, rp_current_group);
+ if (g)
+ groups_merge (g, rp_current_group);
+ else
+ message (" gmerge: Cannot find group ");
+
return NULL;
}