From 69d52dbe21ee76e34ed8e0205bd86b68ccb2943f Mon Sep 17 00:00:00 2001 From: skrll Date: Wed, 29 Jan 2014 12:56:28 +0000 Subject: [PATCH] Remove harmful whitespace. Now the /var/shm check can succeed quietly. --- usr.sbin/postinstall/postinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/postinstall/postinstall b/usr.sbin/postinstall/postinstall index a87450937c30..6c2f1705715c 100755 --- a/usr.sbin/postinstall/postinstall +++ b/usr.sbin/postinstall/postinstall @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: postinstall,v 1.162 2014/01/17 19:06:57 martin Exp $ +# $NetBSD: postinstall,v 1.163 2014/01/29 12:56:28 skrll Exp $ # # Copyright (c) 2002-2008 The NetBSD Foundation, Inc. # All rights reserved. @@ -1872,7 +1872,7 @@ do_varshm() [ -f "${DEST_DIR}/etc/fstab" ] || return 0 if ${GREP} -w "/var/shm" "${DEST_DIR}/etc/fstab" >/dev/null 2>&1; then - failed = 0; + failed=0; else if [ "${op}" = "check" ]; then failed=1