Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Compare $_mount_es with 0



details:   https://anonhg.NetBSD.org/src/rev/e384d08946fe
branches:  trunk
changeset: 359967:e384d08946fe
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Thu Feb 03 21:02:47 2022 +0000

description:
Compare $_mount_es with 0

diffstat:

 etc/rc.subr |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 921bffd0d43c -r e384d08946fe etc/rc.subr
--- a/etc/rc.subr       Thu Feb 03 20:52:44 2022 +0000
+++ b/etc/rc.subr       Thu Feb 03 21:02:47 2022 +0000
@@ -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_es=$?
                        fi
 
-                       if [ -n "$_mount_es" ]; then
+                       if [ "$_mount_es" != 0 ]; then
                                _mountcrit_es="$_mount_es"
                        fi
                fi



Home | Main Index | Thread Index | Old Index