From 388d15609543844c49895d0ef9ee187779eb1bcf Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 11 Jun 2001 20:21:11 +0000 Subject: change location of error message when no reply received --- mdk-stage1/dhcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1/dhcp.c') diff --git a/mdk-stage1/dhcp.c b/mdk-stage1/dhcp.c index 78a0712f9..44877fd8a 100644 --- a/mdk-stage1/dhcp.c +++ b/mdk-stage1/dhcp.c @@ -471,7 +471,6 @@ static int handle_transaction(int s, struct bootp_request * breq, struct bootp_r timeout = 5; } - stg1_error_message("No DHCP reply received."); return -1; } @@ -554,6 +553,7 @@ enum return_type perform_dhcp(struct interface_info * intf) remove_wait_message(); if (i != 0) { + stg1_error_message("No DHCP reply received."); close(s); return RETURN_ERROR; } -- cgit v1.2.1