summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-07-05 09:52:47 +0000
committerOlivier Blin <oblin@mandriva.org>2004-07-05 09:52:47 +0000
commit6f436df4186b9797df55b113fe37b093857177e8 (patch)
tree494123239e2ddbf4cf8c179796f7dec134f38935 /mdk-stage1
parent87e6faf70cdf80af1b40571a8d8b9189d7594b50 (diff)
downloaddrakx-6f436df4186b9797df55b113fe37b093857177e8.tar
drakx-6f436df4186b9797df55b113fe37b093857177e8.tar.gz
drakx-6f436df4186b9797df55b113fe37b093857177e8.tar.bz2
drakx-6f436df4186b9797df55b113fe37b093857177e8.tar.xz
drakx-6f436df4186b9797df55b113fe37b093857177e8.zip
properly handle error return code in nfs install
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 0e5ec4560..e3764205f 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -865,6 +865,8 @@ enum return_type nfs_prepare(void)
results = try_with_directory(nfs_own_mount, "nfs", "nfs-iso");
if (results == RETURN_BACK)
umount(nfs_own_mount);
+ else if (results == RETURN_ERROR)
+ return RETURN_ERROR;
}
while (results == RETURN_BACK);