tAccept "-" again for writing index to stdout - scribo - Email-based phlog generator
(HTM) git clone git://git.z3bra.org/scribo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e4acb5dbbe7330f20b7762305f9b1e291c3efe92
(DIR) parent 7d2e0c329ea002343d098900cac510edd86762b8
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 8 Sep 2020 13:04:47 +0200
Accept "-" again for writing index to stdout
Diffstat:
M scribo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/scribo.c b/scribo.c
t@@ -218,7 +218,7 @@ main(int argc, char *argv[])
return -1;
}
- if (outfile)
+ if (outfile && strcmp(outfile, "-"))
out = fopen(outfile, "w");
if (!out) {