summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);