summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/dhcp.c2
1 files changed, 1 insertions, 1 deletions
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;
}