diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-07-05 11:52:06 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-07-05 11:52:06 +0200 |
commit | 5022aeb3370253d6b7067c04e2bb57d510077d31 (patch) | |
tree | 44022c5aa15bfd0a9189a21284110ff7fd91dfab /src | |
parent | 7de261b1c28ba0099ae49c0cc7254b4dae850807 (diff) | |
download | profani-tty-5022aeb3370253d6b7067c04e2bb57d510077d31.tar.gz |
Fix log rotation
Fix https://github.com/profanity-im/profanity/issues/1518 See https://github.com/profanity-im/profanity/issues/1518#issuecomment-870581988
Diffstat (limited to 'src')
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c index 66fe8abe..ecc1038b 100644 --- a/src/log.c +++ b/src/log.c @@ -250,7 +250,7 @@ _rotate_log_file(void) rename(log_file, log_file_new); - log_init(log_get_filter(), log_file); + log_init(log_get_filter(), NULL); free(log_file_new); free(log_file); |