From 590017a61ca58be6918c7060127977c51861c36b Mon Sep 17 00:00:00 2001 From: jkh Date: Sun, 28 Apr 1996 20:54:11 +0000 Subject: Add a new -fake argument to make sysinstall not actually change things while I'm testing it. --- release/sysinstall/disks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release/sysinstall/disks.c') diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c index 0c62dac..79f5881 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; } -- cgit v1.1