diff options
author | lshprung <lshprung@yahoo.com> | 2020-10-12 22:20:55 -0700 |
---|---|---|
committer | lshprung <lshprung@yahoo.com> | 2020-10-12 22:20:55 -0700 |
commit | 4313a39544cde16e5750f5affc1b7702770c1699 (patch) | |
tree | 71e0ea2862f0daad8c40fbce0869c6f5699a9cff /group.c | |
parent | d529fcc336110d243beeef3d393c1122a8238a39 (diff) |
Improved error messages and readme
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); } |