diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1995-09-18 16:53:06 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1995-09-18 16:53:06 +0000 |
| commit | 5326bef3dea504bf1e33213fdca6903b39e0a8bc (patch) | |
| tree | d8d32666544a3c5d9db7a5472c5fa4292681da66 /usr.sbin/sysinstall/dos.c | |
| parent | 5cbf3e086c556538a726bb9438b8e4ba0c960ff7 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/dos.c')
| -rw-r--r-- | usr.sbin/sysinstall/dos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/dos.c b/usr.sbin/sysinstall/dos.c index 52ba28eb68bfc..d4a19a40361b6 100644 --- a/usr.sbin/sysinstall/dos.c +++ b/usr.sbin/sysinstall/dos.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: dos.c,v 1.5.2.4 1995/06/05 16:59:03 jkh Exp $ + * $Id: dos.c,v 1.6.2.1 1995/07/21 10:53:52 rgrimes Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -63,7 +63,7 @@ mediaInitDOS(Device *dev) { struct msdosfs_args args; - if (DOSMounted) + if (!RunningAsInit || DOSMounted) return TRUE; if (Mkdir("/dos", NULL)) @@ -97,7 +97,7 @@ mediaGetDOS(Device *dev, char *file, Attribs *dist_attrs) void mediaShutdownDOS(Device *dev) { - if (!DOSMounted) + if (!RunningAsInit || !DOSMounted) return; msgDebug("Unmounting /dos\n"); if (unmount("/dos", MNT_FORCE) != 0) |
