summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-06-11 20:21:11 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-06-11 20:21:11 +0000
commit388d15609543844c49895d0ef9ee187779eb1bcf (patch)
tree594fd0c7fb8bd71367d633ec33f87cba35bf17e2
parentacfa39a2031eb49e9ea78bf2333d03e7dd6e9b54 (diff)
downloaddrakx-388d15609543844c49895d0ef9ee187779eb1bcf.tar
drakx-388d15609543844c49895d0ef9ee187779eb1bcf.tar.gz
drakx-388d15609543844c49895d0ef9ee187779eb1bcf.tar.bz2
drakx-388d15609543844c49895d0ef9ee187779eb1bcf.tar.xz
drakx-388d15609543844c49895d0ef9ee187779eb1bcf.zip
change location of error message when no reply received
-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;
}