summaryrefslogtreecommitdiffstats
path: root/loader2/nfsinstall.c
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-12-03 03:05:18 +0000
committerMike Fulbright <msf@redhat.com>2002-12-03 03:05:18 +0000
commit79a744c854896908190e1b33ba2055002610c4ee (patch)
treedd4db6d840a5e001810a66eac84de2d59d78ec0b /loader2/nfsinstall.c
parent3052390f1e629df84cf2ee96185d712462c01f1c (diff)
downloadanaconda-79a744c854896908190e1b33ba2055002610c4ee.tar.gz
anaconda-79a744c854896908190e1b33ba2055002610c4ee.tar.xz
anaconda-79a744c854896908190e1b33ba2055002610c4ee.zip
added debug message and made code block little more obvious
Diffstat (limited to 'loader2/nfsinstall.c')
-rw-r--r--loader2/nfsinstall.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/loader2/nfsinstall.c b/loader2/nfsinstall.c
index 73073b834..3ca1b2e4a 100644
--- a/loader2/nfsinstall.c
+++ b/loader2/nfsinstall.c
@@ -159,6 +159,7 @@ char * mountNfsImage(struct installMethod * method,
}
}
if ((path = validIsoImages("/mnt/source"))) {
+ logMessage("Path to valid iso is %s", path);
copyUpdatesImg("/mnt/source/updates.img");
if (mountLoopback(path, "/mnt/source2", "loop1"))
@@ -167,7 +168,8 @@ char * mountNfsImage(struct installMethod * method,
rc = mountStage2("/mnt/source2/RedHat/base/stage2.img");
if (rc) {
umountLoopback("/mnt/source2", "loop1");
- if (rc == -1) foundinvalid = 1;
+ if (rc == -1)
+ foundinvalid = 1;
} else {
queryIsoMediaCheck(path, flags);