diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c index 13d02da5665..5e7072b722d 100644 --- a/usr.sbin/pkg/pkg.c +++ b/usr.sbin/pkg/pkg.c @@ -946,6 +946,7 @@ pkg_query_yes_no(void) { int ret, c; + fflush(stdout); c = getchar(); if (c == 'y' || c == 'Y')