aboutsummaryrefslogtreecommitdiff
path: root/release/sysinstall/disks.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-04-28 20:54:11 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-04-28 20:54:11 +0000
commitc97113d14f96c09d523fd1b51ffff9266720f2f7 (patch)
tree4feb68ad24dca3ea106d8e7eaa8949c9e16a1f31 /release/sysinstall/disks.c
parent9591b63489d25baba69f9923bac30213adfc6fe3 (diff)
downloadsrc-c97113d14f96c09d523fd1b51ffff9266720f2f7.tar.gz
src-c97113d14f96c09d523fd1b51ffff9266720f2f7.zip
Add a new -fake argument to make sysinstall not actually change things while
I'm testing it.
Notes
Notes: svn path=/head/; revision=15439
Diffstat (limited to 'release/sysinstall/disks.c')
-rw-r--r--release/sysinstall/disks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c
index 0c62dacbf851..79f58817e23a 100644
--- a/release/sysinstall/disks.c
+++ b/release/sysinstall/disks.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: disks.c,v 1.43 1996/04/28 00:37:28 jkh Exp $
+ * $Id: disks.c,v 1.44 1996/04/28 03:26:49 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -502,7 +502,7 @@ diskPartitionWrite(dialogMenuItem *self)
Set_Boot_Blocks(d, boot1, boot2);
msgNotify("Writing partition information to drive %s", d->name);
- if (Write_Disk(d)) {
+ if (!Fake && Write_Disk(d)) {
msgConfirm("ERROR: Unable to write data to disk %s!", d->name);
return DITEM_FAILURE;
}