Browse Source

typo; -eq not -ne

OPENBSD_2_6
millert 25 years ago
parent
commit
b64ce3a751
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc

+ 2
- 2
src/etc/rc View File

@ -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


Loading…
Cancel
Save