svn commit: r328833 - head/tools/tools/nanobsd

Warner Losh imp at FreeBSD.org
Sat Feb 3 21:56:39 UTC 2018


Author: imp
Date: Sat Feb  3 21:56:38 2018
New Revision: 328833
URL: https://svnweb.freebsd.org/changeset/base/328833

Log:
  Fix backward conditional.
  
  Pointed out by: david boyer

Modified:
  head/tools/tools/nanobsd/legacy.sh

Modified: head/tools/tools/nanobsd/legacy.sh
==============================================================================
--- head/tools/tools/nanobsd/legacy.sh	Sat Feb  3 20:53:21 2018	(r328832)
+++ head/tools/tools/nanobsd/legacy.sh	Sat Feb  3 21:56:38 2018	(r328833)
@@ -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.


More information about the svn-src-head mailing list