CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2009/05/28 19:49:56
Modified files: sbin/disklabel : disklabel.c editor.c Log message: Clean up logic around exit values. Make getasciilabel() return 0 for success. Fix a couple of bugs where errors in checklabel() got lost. Make Editor 'q' and 'x' commands exit with 0 (ok) rather than 1. i.e. non-zero exit value now reserved for failure, not a decision to leave the disklabel unchanged. This allows the install script to use the exit value to catch failures to write a disklabel.