summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/wizard.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-04-28 20:54:11 +0000
committerjkh <jkh@FreeBSD.org>1996-04-28 20:54:11 +0000
commit590017a61ca58be6918c7060127977c51861c36b (patch)
tree4feb68ad24dca3ea106d8e7eaa8949c9e16a1f31 /usr.sbin/sade/wizard.c
parentc17cc2e1bedeb94384f0251f46ed703860b946d6 (diff)
downloadFreeBSD-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/sade/wizard.c')
-rw-r--r--usr.sbin/sade/wizard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sade/wizard.c b/usr.sbin/sade/wizard.c
index 66e2233..ae6dc78 100644
--- a/usr.sbin/sade/wizard.c
+++ b/usr.sbin/sade/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;
OpenPOWER on IntegriCloud