Skip to content

Commit

Permalink
Update log_proxy.c
Browse files Browse the repository at this point in the history
  • Loading branch information
thefab authored Aug 6, 2021
1 parent 6a93596 commit 208cb39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ int main(int argc, char *argv[])
init_or_reinit_output_channel(log_file, use_locks);
GThread* management = g_thread_create(management_thread, NULL, FALSE, NULL);
UNUSED(management);
while ((in_status != G_IO_STATUS_EOF) && (in_status != G_IO_STATUS_ERROR)) {
while ((stop_flag == FALSE) && (in_status != G_IO_STATUS_EOF) && (in_status != G_IO_STATUS_ERROR)) {
in_status = g_io_channel_read_line_string(in, in_buffer, NULL, NULL);
if (in_status == G_IO_STATUS_NORMAL) {
g_mutex_lock(mutex);
Expand Down

0 comments on commit 208cb39

Please sign in to comment.