terminal: lxc_terminal_write_log_file()

parent b6d5de95
...@@ -255,11 +255,11 @@ static int lxc_terminal_rotate_log_file(struct lxc_terminal *terminal) ...@@ -255,11 +255,11 @@ static int lxc_terminal_rotate_log_file(struct lxc_terminal *terminal)
} }
static int lxc_terminal_write_log_file(struct lxc_terminal *terminal, char *buf, static int lxc_terminal_write_log_file(struct lxc_terminal *terminal, char *buf,
int bytes_read) int bytes_read)
{ {
int ret; int ret;
int64_t space_left = -1;
struct stat st; struct stat st;
int64_t space_left = -1;
if (terminal->log_fd < 0) if (terminal->log_fd < 0)
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment