diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-25 12:18:14 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-25 12:18:14 +0300 |
commit | d59a014f169e2394711cecd566a95cbfdceda6d3 (patch) | |
tree | d0cf414dadd11df1a5eebc81f8f27f9199920c81 /src/output.c | |
parent | d8c782807ffbd0e7e30b07f88dd91b6dc0988219 (diff) | |
download | tagr-d59a014f169e2394711cecd566a95cbfdceda6d3.tar.gz tagr-d59a014f169e2394711cecd566a95cbfdceda6d3.tar.bz2 |
Bugfixes.
* src/html.gram.y (write_symtab): Bugfix.
* src/main.c: Implement restart.
(main): Implement UNIX sockets.
* src/output.c (do_update_output): Bugfix.
* src/readconfig.c (free_monitors): New function.
* src/report.c (update_monitor): Take third argument.
(rebuild): Take an argument.
* src/tagr.h (update_interval): New extern.
(rebuild): Update proto.
Diffstat (limited to 'src/output.c')
-rw-r--r-- | src/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output.c b/src/output.c index bb07eae..5afd51a 100644 --- a/src/output.c +++ b/src/output.c @@ -133,7 +133,7 @@ do_update_output (struct monitor *mon, struct image_descr *dscr, } fname = mkfilename (dirname, mon->name, dscr->suffix); - if (access (fname, R_OK) && needs_update) + if (access (fname, R_OK) || needs_update) { FILE *fp; |