Module Name: src
Committed By: alnsn
Date: Thu Feb 3 21:02:47 UTC 2022
Modified Files:
src/etc: rc.subr
Log Message:
Compare $_mount_es with 0
To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/etc/rc.subr
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/rc.subr
diff -u src/etc/rc.subr:1.108 src/etc/rc.subr:1.109
--- src/etc/rc.subr:1.108 Thu Feb 3 20:52:44 2022
+++ src/etc/rc.subr Thu Feb 3 21:02:47 2022
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.108 2022/02/03 20:52:44 alnsn Exp $
+# $NetBSD: rc.subr,v 1.109 2022/02/03 21:02:47 alnsn Exp $
#
# Copyright (c) 1997-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -266,7 +266,7 @@ mount_critical_filesystems_zfs()
_mount_es=$?
fi
- if [ -n "$_mount_es" ]; then
+ if [ "$_mount_es" != 0 ]; then
_mountcrit_es="$_mount_es"
fi
fi