diff options
Diffstat (limited to 'release/sysinstall/nfs.c')
-rw-r--r-- | release/sysinstall/nfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/nfs.c b/release/sysinstall/nfs.c index 45cce67..1a7af4f 100644 --- a/release/sysinstall/nfs.c +++ b/release/sysinstall/nfs.c @@ -51,7 +51,7 @@ mediaInitNFS(Device *dev) if (NFSMounted) return TRUE; - if (!netDevice->init(netDevice)) + if (netDevice && !netDevice->init(netDevice)) return FALSE; if (Mkdir("/dist")) @@ -101,7 +101,7 @@ mediaShutdownNFS(Device *dev) if (unmount("/dist", MNT_FORCE) != 0) msgConfirm("Could not unmount the NFS partition: %s", strerror(errno)); msgDebug("Unmount of NFS partition successful\n"); - /* netdev->shutdown(netdev); */ + /* if (netdev) netdev->shutdown(netdev); */ NFSMounted = FALSE; return; } |