-/* $OpenBSD: cmds.c,v 1.2 1996/06/26 05:33:33 deraadt Exp $ */
+/* $OpenBSD: cmds.c,v 1.3 1996/09/09 04:44:38 downsj Exp $ */
/* $NetBSD: cmds.c,v 1.8 1995/09/08 01:06:05 tls Exp $ */
/*
#if 0
static char sccsid[] = "@(#)cmds.c 8.6 (Berkeley) 10/9/94";
#else
-static char rcsid[] = "$OpenBSD: cmds.c,v 1.2 1996/06/26 05:33:33 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: cmds.c,v 1.3 1996/09/09 04:44:38 downsj Exp $";
#endif
#endif /* not lint */
return;
}
recvrequest(cmd, argv[2], argv[1], "w", 0);
+
+ /* flush results in case commands are coming from a pipe */
+ fflush(stdout);
}
/*