diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-05-29 01:49:57 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-05-29 01:49:57 +0000 |
commit | 87d5711839a38fd20c41eeeea639be7ec43beac3 (patch) | |
tree | ba45f3823e45fb7c963bc1c2bf9605c80ab9510c /sys/dev/bluetooth/btms.c | |
parent | b463445cd7d52203a347452777be48abfdb8a4d8 (diff) |
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.
Diffstat (limited to 'sys/dev/bluetooth/btms.c')
0 files changed, 0 insertions, 0 deletions