summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-13 18:29:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-13 18:29:49 +0000
commitaaa5a47c10ef7b9d0525374cd53c0d4c82f1767b (patch)
tree5424e868850b1e0ab973bbdec86d8e31a86d805e /etc/rc
parent0c22751fe5634c5aef00b9f42b47c29ab4ff4958 (diff)
normalize test vs [; form
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index 32d94cc8b58..0a88b49c5ca 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.139 2000/05/19 16:53:17 mickey Exp $
+# $OpenBSD: rc,v 1.140 2000/06/13 18:29:48 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -506,9 +506,9 @@ if [ "X${mopd_flags}" != X"NO" -a -d /tftpboot/mop ]; then
fi
if [ X"${sshd}" == X"YES" ]; then
- if test -x /usr/sbin/sshd && /usr/sbin/sshd -Q ; then
+ if [ -x /usr/sbin/sshd ] && /usr/sbin/sshd -Q ; then
echo -n ' sshd'
- elif [ -x /usr/local/sbin/sshd && /usr/local/sbin/sshd ]; then
+ elif [ -x /usr/local/sbin/sshd ] && /usr/local/sbin/sshd ; then
echo -n ' sshd'
fi
fi