浏览代码

tlog: update tlog

Nick Peng 2 年之前
父节点
当前提交
e3271b07c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/tlog.c

+ 1 - 1
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;