summaryrefslogtreecommitdiff
path: root/group.c
diff options
context:
space:
mode:
authorlshprung <lshprung@yahoo.com>2020-10-12 22:20:55 -0700
committerlshprung <lshprung@yahoo.com>2020-10-12 22:20:55 -0700
commit4313a39544cde16e5750f5affc1b7702770c1699 (patch)
tree71e0ea2862f0daad8c40fbce0869c6f5699a9cff /group.c
parentd529fcc336110d243beeef3d393c1122a8238a39 (diff)
Improved error messages and readme
Diffstat (limited to 'group.c')
-rw-r--r--group.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/group.c b/group.c
index ca47edd..821adf3 100644
--- a/group.c
+++ b/group.c
@@ -6,6 +6,7 @@
#include <unistd.h>
#include "entry.h"
#include "group.h"
+#include "read_cfg.h"
#define BUF_LEN 1024
typedef struct group{
@@ -143,7 +144,8 @@ void clean_groups(){
GROUP *hold;
if(group_count == 0){
- printf("Error: no groups!\n");
+ printf("Error: no groups! ");
+ refer_to_doc();
exit(0);
}