From ad70dcf35a496fab128e9eb85cfbd134be03af27 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 23 May 2001 20:30:45 +0000 Subject: [PATCH] fdformat prompts for user confirmation. it exits 0 if the user doesn't confirm, which needlessly complicates scripts. PR: 15339 Submitted by: richard winkel rich@math.missouri.edu MFC after: 1 week --- usr.sbin/fdformat/fdformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c index 3d6b998ed587..0424df4aac19 100644 --- a/usr.sbin/fdformat/fdformat.c +++ b/usr.sbin/fdformat/fdformat.c @@ -302,7 +302,7 @@ main(int argc, char **argv) devname); if(! yes ()) { printf("Not confirmed.\n"); - return 0; + return 3; } }