diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-13 21:03:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-04-13 21:03:32 +0000 |
commit | 491fc5bb2b89092077481d672f2ce178c057a449 (patch) | |
tree | c79b1c65ad3f76c4ef58bd5e413c975efb12180c /distrib/miniroot/upgrade.sh | |
parent | 6d25088719664d7cb1379643d62f4b2f9972369f (diff) |
only fsck root once in upgrade; from krw
Diffstat (limited to 'distrib/miniroot/upgrade.sh')
-rw-r--r-- | distrib/miniroot/upgrade.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/upgrade.sh b/distrib/miniroot/upgrade.sh index 7ae5d119479..6fff874d128 100644 --- a/distrib/miniroot/upgrade.sh +++ b/distrib/miniroot/upgrade.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: upgrade.sh,v 1.30 2002/04/09 01:01:19 krw Exp $ +# $OpenBSD: upgrade.sh,v 1.31 2002/04/13 21:03:31 deraadt Exp $ # $NetBSD: upgrade.sh,v 1.2.4.5 1996/08/27 18:15:08 gwr Exp $ # # Copyright (c) 1997-2002 Todd Miller, Theo de Raadt, Ken Westerback @@ -170,8 +170,8 @@ if ! umount /mnt; then fi # Check filesystems. -echo "Checking filesystem integrity..." -if ! check_fs; then +echo "Checking non-root filesystems..." +if ! check_fs $_root_filesystem; then # Prevent check_fs() invocation in cleanup_on_exit from fsck'ing. # Remember /etc/fstab is a link, /tmp/fstab.shadow is the file! rm /tmp/fstab.shadow |