summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c
index 5516dc5..0b5a323 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -3204,6 +3204,10 @@ cmd_gselect (int interactive, char *data)
else
str = xstrdup (data);
+ /* User aborted. */
+ if (str == NULL)
+ return NULL;
+
g = find_group (str);
if (g)