summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2008-06-07 03:22:26 +0000
committerderaadt <deraadt@openbsd.org>2008-06-07 03:22:26 +0000
commit27260768609efe837efa1984ff1938e52697e504 (patch)
tree594e8ba83a2b07ee4ad62541afdcfe2bf9d26b96
parentMove the Apache manual out of etcXX and to miscXX where it belongs. (diff)
downloadwireguard-openbsd-27260768609efe837efa1984ff1938e52697e504.tar.xz
wireguard-openbsd-27260768609efe837efa1984ff1938e52697e504.zip
stop spurious "got link" which nooone noticed, but everyone should have; ok krw
-rw-r--r--sbin/dhclient/dhclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index dbeea0631aa..0f9be10db1e 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.119 2008/05/26 03:11:48 deraadt Exp $ */
+/* $OpenBSD: dhclient.c,v 1.120 2008/06/07 03:22:26 deraadt Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -338,7 +338,7 @@ main(int argc, char *argv[])
}
sleep(1);
}
- if (i >= 0)
+ if (i > 0)
fprintf(stderr, " got link\n");
dispatch: