From e3271b07c4f3570581af04e473cacbaf4f510dfd Mon Sep 17 00:00:00 2001 From: Nick Peng Date: Wed, 22 Feb 2023 21:54:16 +0800 Subject: [PATCH] tlog: update tlog --- src/tlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tlog.c b/src/tlog.c index 70f67bc..a93b493 100644 --- a/src/tlog.c +++ b/src/tlog.c @@ -1050,7 +1050,7 @@ static int _tlog_archive_log_compressed(struct tlog_log *log) int pid = vfork(); if (pid == 0) { _tlog_close_all_fd(); - execl(tlog.gzip_cmd, "-1", pending_file, NULL); + execl(tlog.gzip_cmd, tlog.gzip_cmd, "-1", pending_file, NULL); _exit(1); } else if (pid < 0) { goto errout;