diff options
author | Warner Losh <imp@FreeBSD.org> | 2018-02-03 21:56:38 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2018-02-03 21:56:38 +0000 |
commit | 9a0e2e232b25546f56f6ff0b33347c854dc41b07 (patch) | |
tree | 48df05fc00806ee8ab648cf6519dc319fb63056f /tools/tools/nanobsd | |
parent | a184696e5a4778a439f6b1581cc769ae2fe39b5e (diff) | |
download | src-9a0e2e232b25546f56f6ff0b33347c854dc41b07.tar.gz src-9a0e2e232b25546f56f6ff0b33347c854dc41b07.zip |
Fix backward conditional.
Pointed out by: david boyer
Notes
Notes:
svn path=/head/; revision=328833
Diffstat (limited to 'tools/tools/nanobsd')
-rw-r--r-- | tools/tools/nanobsd/legacy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/nanobsd/legacy.sh b/tools/tools/nanobsd/legacy.sh index 0ae8290b75f3..0832179ba227 100644 --- a/tools/tools/nanobsd/legacy.sh +++ b/tools/tools/nanobsd/legacy.sh @@ -29,8 +29,8 @@ # # Media geometry, only relevant if bios doesn't understand LBA. -[ -z "$NANO_SECTS" ] || NANO_SECTS=63 -[ -z "$NANO_HEADS" ] || NANO_HEADS=16 +[ -n "$NANO_SECTS" ] || NANO_SECTS=63 +[ -n "$NANO_HEADS" ] || NANO_HEADS=16 # Functions and variable definitions used by the legacy nanobsd # image building system. |