summaryrefslogtreecommitdiffstats
path: root/loader2/nfsinstall.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/nfsinstall.c')
-rw-r--r--loader2/nfsinstall.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/loader2/nfsinstall.c b/loader2/nfsinstall.c
index 415e75729..a8a2bb785 100644
--- a/loader2/nfsinstall.c
+++ b/loader2/nfsinstall.c
@@ -283,6 +283,7 @@ void setKickstartNfs(struct loaderData_s * loaderData, int argc,
int getFileFromNfs(char * url, char * dest, struct loaderData_s * loaderData) {
+ char *buf = NULL;
char ret[47];
char * host = NULL, *path = NULL, * file = NULL, * opts = NULL;
int failed = 0;
@@ -360,6 +361,12 @@ int getFileFromNfs(char * url, char * dest, struct loaderData_s * loaderData) {
umount("/tmp/mnt");
unlink("/tmp/mnt");
+ buf = pumpDisableInterface(netCfg.dev.device);
+ if (buf) {
+ logMessage(ERROR, "getFileFromNfs: %s", buf);
+ failed = 1;
+ }
+
return failed;
}