summaryrefslogtreecommitdiff
path: root/lib/librte_cli/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_cli/cli.c')
-rw-r--r--lib/librte_cli/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_cli/cli.c b/lib/librte_cli/cli.c
index b069f9a..6dfdcf1 100644
--- a/lib/librte_cli/cli.c
+++ b/lib/librte_cli/cli.c
@@ -671,7 +671,7 @@ cli_poll(char *c)
if (read(fds.fd, c, 1) > 0)
return 1;
} else
- this_cli->quit_flag = 1;
+ cli_quit();
}
return 0;
}