From: compudj Date: Fri, 16 Sep 2005 19:32:48 +0000 (+0000) Subject: add delay X-Git-Tag: v0.12.20~2259 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=1f1a8b9c42e513e7d579414841a06a44d758769b;p=lttv.git add delay git-svn-id: http://ltt.polymtl.ca/svn@1230 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c b/ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c index 1193046d..3f6a4f3c 100644 --- a/ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c +++ b/ltt/branches/poly/lttv/modules/gui/tracecontrol/tracecontrol.c @@ -435,6 +435,7 @@ static int execute_command(const gchar *command, const gchar *username, /* Read the output from the child terminal before the prompt. If no data in * 200 ms, we stop reading to give the password */ g_info("Reading from child console..."); + sleep(1); /* make sure the child is ready */ while(1) { pollfd.fd = fdpty; pollfd.events = POLLIN|POLLPRI;