]> andersk Git - moira.git/commitdiff
fix bogus "List is empty" message on permission denied.
authormar <mar>
Wed, 14 Sep 1988 15:44:41 +0000 (15:44 +0000)
committermar <mar>
Wed, 14 Sep 1988 15:44:41 +0000 (15:44 +0000)
clients/moira/lists.c

index e41d8bc473b84594b23da1a53c8fb1c483c0039c..05f25a39650c7329905dc4679c6d6a85dd69f2f1 100644 (file)
@@ -481,8 +481,10 @@ char * type;
 
     found_some = FALSE;
     if ( (status = sms_query("get_members_of_list", CountArgs(args), args, 
-                            PrintByType, type)) != 0)
+                            PrintByType, type)) != 0) {
        com_err(program_name, status, " in ListMembersByType");
+       return(DM_NORMAL);
+    }
     if (!found_some) {
        if (type == NULL)
            Put_message("List is empty (no members).");
This page took 0.036357 seconds and 5 git commands to generate.