diff options
Diffstat (limited to 'pith/store.c')
-rw-r--r-- | pith/store.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pith/store.c b/pith/store.c index e8508257..58154c53 100644 --- a/pith/store.c +++ b/pith/store.c @@ -171,6 +171,14 @@ so_get(SourceType source, char *name, int rtype) if(source == TmpFileStar) our_unlink(so->name); + if (ps_global->send_immediately){ + ps_global->failed_read++; + if(ps_global->failed_read == 5){ + printf("No configurationf file found. Where is your .pinerc file?\n"); + exit(1); + } + } + fs_give((void **)&so->name); fs_give((void **)&so); /* so freed & set to NULL */ } |