summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-08-05 08:12:11 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-08-05 08:12:11 +0000
commit631396a7a810291c0ccbfa22b1cc6ece31679292 (patch)
treed9d6b3b4ee8b06ced5fa09adf2f5c527878efcfb
parentccc92cc9aa804868eb2f684d6a2a27b797526eb0 (diff)
typo; -eq not -ne
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 19a7a5f514d..3be0ce46711 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.104 1999/08/05 08:10:06 millert Exp $
+# $OpenBSD: rc,v 1.105 1999/08/05 08:12:10 millert Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -302,7 +302,7 @@ if [ ! -f /etc/motd ]; then
install -c -o root -g wheel -m 664 /dev/null /etc/motd
fi
T=`mktemp /tmp/_motd.XXXXXXXXXX`
-if [ $? -ne 0 ]; then
+if [ $? -eq 0 ]; then
sysctl -n kern.version | sed 1q > $T
echo "" >> $T
sed '1,/^$/d' < /etc/motd >> $T