From fc4797caaf3f1f5cacad72d2a97b55741c9b8c56 Mon Sep 17 00:00:00 2001 From: Robert Love Date: Wed, 26 Apr 2006 19:43:53 +0000 Subject: [PATCH] Default to 30, not 60, seconds. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1709 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- ChangeLog | 2 +- test/nm-online.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8a838bb21a..058e0659bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,7 @@ * tests/nm-online.c: New file. Simple utility that returns exit status noting whether the connection is offline or online. If offline on - start, it waits 60 seconds (or a command-line given value) for an + start, it waits 30 seconds (or a command-line given value) for an online signal. If it times out, it again returns offline. This is useful for scripts that want to wait for network connections. diff --git a/test/nm-online.c b/test/nm-online.c index d9787795d3..351a14a050 100644 --- a/test/nm-online.c +++ b/test/nm-online.c @@ -69,7 +69,7 @@ int main (int argc, char *argv[]) DBusConnection *connection; DBusError error; GMainLoop *loop; - int timeout = 60; + int timeout = 30; if (argc == 2) { timeout = (int) strtol (argv[1], NULL, 10);