diff options
author | phk <phk@FreeBSD.org> | 2001-05-23 20:30:45 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-05-23 20:30:45 +0000 |
commit | 3e687d700a94990ac35790ceba2b7f06e761bb93 (patch) | |
tree | 56781dd78991419db8c0ecc294af8a5aa3edc6c9 /usr.sbin/fdformat | |
parent | a5ffebeaaae18bc6157357ecf47110e2a7438426 (diff) | |
download | FreeBSD-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/fdformat')
-rw-r--r-- | usr.sbin/fdformat/fdformat.c | 2 |
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; } } |