diff options
author | jkh <jkh@FreeBSD.org> | 1996-04-28 20:54:11 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-04-28 20:54:11 +0000 |
commit | 590017a61ca58be6918c7060127977c51861c36b (patch) | |
tree | 4feb68ad24dca3ea106d8e7eaa8949c9e16a1f31 /usr.sbin/sysinstall/wizard.c | |
parent | c17cc2e1bedeb94384f0251f46ed703860b946d6 (diff) | |
download | FreeBSD-src-590017a61ca58be6918c7060127977c51861c36b.zip FreeBSD-src-590017a61ca58be6918c7060127977c51861c36b.tar.gz |
Add a new -fake argument to make sysinstall not actually change things while
I'm testing it.
Diffstat (limited to 'usr.sbin/sysinstall/wizard.c')
-rw-r--r-- | usr.sbin/sysinstall/wizard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/wizard.c b/usr.sbin/sysinstall/wizard.c index 66e2233..ae6dc78 100644 --- a/usr.sbin/sysinstall/wizard.c +++ b/usr.sbin/sysinstall/wizard.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: wizard.c,v 1.6.2.1 1995/09/20 10:43:13 jkh Exp $ + * $Id: wizard.c,v 1.7 1995/12/07 10:34:25 peter Exp $ * */ @@ -208,7 +208,7 @@ slice_wizard(Disk *d) } if (!strcasecmp(*cmds,"write")) { printf("Write=%d\n", - Write_Disk(d)); + Fake ? 0 : Write_Disk(d)); Free_Disk(d); d = Open_Disk(d->name); continue; |