diff options
author | emaste <emaste@FreeBSD.org> | 2012-01-25 02:15:40 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2012-01-25 02:15:40 +0000 |
commit | 1d1e035e4aa915966b05721e452d90fe7cef70db (patch) | |
tree | 209e3e4ffc74be26b845540a12e20ca5600e845d /usr.sbin/ckdist | |
parent | 911de305602ff6d54ef262ead117c4a828f3e340 (diff) | |
download | FreeBSD-src-1d1e035e4aa915966b05721e452d90fe7cef70db.zip FreeBSD-src-1d1e035e4aa915966b05721e452d90fe7cef70db.tar.gz |
Clean up reinstall option and remove duplicate code
- Move the reinstall logic to be before menus are initialised
(menus are not needed when reinstalling a zonefile).
- Remove unnecessary re-initialization of path_db.
- Update variable name and error message because we now use the
zone name relative to /usr/share/zoneinfo, not the full path.
pr: bin/164041
Submitted by: Devin Teske <dteske vicor com>
MFC after: 1 week
Diffstat (limited to 'usr.sbin/ckdist')
0 files changed, 0 insertions, 0 deletions