summaryrefslogtreecommitdiffstats
path: root/isys/imount.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-06-20 21:51:57 +0000
committerMatt Wilson <msw@redhat.com>2001-06-20 21:51:57 +0000
commit8b2f175465e362edf32034cf133ff06650626942 (patch)
tree0354c2633593740c15c8172df934d7e80d04536d /isys/imount.c
parent24842cb76f8fd6120500adeb7c0e26a7cf1b3926 (diff)
downloadanaconda-8b2f175465e362edf32034cf133ff06650626942.tar.gz
anaconda-8b2f175465e362edf32034cf133ff06650626942.tar.xz
anaconda-8b2f175465e362edf32034cf133ff06650626942.zip
mount proc and pts
Diffstat (limited to 'isys/imount.c')
-rw-r--r--isys/imount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/imount.c b/isys/imount.c
index a2c01ad70..5c0cec4ad 100644
--- a/isys/imount.c
+++ b/isys/imount.c
@@ -56,7 +56,7 @@ int doPwMount(char * dev, char * where, char * fs, int rdonly, int istty,
if (mkdirChain(where))
return IMOUNT_ERR_ERRNO;
- if (!isnfs && *dev == '/') {
+ if (!isnfs && (*dev == '/' || !strcmp(dev, "none"))) {
buf = dev;
} else if (!isnfs) {
buf = alloca(200);