summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-05-23 20:30:45 +0000
committerphk <phk@FreeBSD.org>2001-05-23 20:30:45 +0000
commit3e687d700a94990ac35790ceba2b7f06e761bb93 (patch)
tree56781dd78991419db8c0ecc294af8a5aa3edc6c9 /usr.sbin
parenta5ffebeaaae18bc6157357ecf47110e2a7438426 (diff)
downloadFreeBSD-src-3e687d700a94990ac35790ceba2b7f06e761bb93.zip
FreeBSD-src-3e687d700a94990ac35790ceba2b7f06e761bb93.tar.gz
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
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/fdformat/fdformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c
index 3d6b998..0424df4 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;
}
}
OpenPOWER on IntegriCloud