--- embedaddon/strongswan/src/libcharon/plugins/lookip/lookip.c 2020/06/03 09:46:44 1.1 +++ embedaddon/strongswan/src/libcharon/plugins/lookip/lookip.c 2021/03/17 00:20:08 1.1.1.2 @@ -203,7 +203,6 @@ static int interactive(int fd) int res; printf("> "); - fflush(stdout); if (fgets(line, sizeof(line), stdin)) { @@ -265,6 +264,8 @@ int main(int argc, char *argv[]) { return 1; } + + setvbuf(stdout, NULL, _IOLBF, 0); if (argc == 1) {