diff options
Diffstat (limited to 'isys/imount.c')
-rw-r--r-- | isys/imount.c | 2 |
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); |