summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2018-02-18 18:52:03 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2018-02-18 18:52:03 +0000
commitea53bad61db581907dbda95f73394bf74ffb0ea3 (patch)
tree793f93bac01e815f753f12605505b10425d921c6 /etc
parent46bff00479e9d5a43e831805942bab2e31a7e2ee (diff)
Remove unecessary line continuation markers after || and &&
Diffstat (limited to 'etc')
-rw-r--r--etc/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index 2fa6093a1fa..21f009306cb 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.524 2018/02/10 05:56:47 florian Exp $
+# $OpenBSD: rc,v 1.525 2018/02/18 18:52:02 rpe Exp $
# System startup script run by init on autoboot or after single-user.
# Output and error are redirected to console by init, and the console is the
@@ -160,7 +160,7 @@ make_keys() {
ssh-keygen -A
if [[ ! -f /etc/soii.key ]]; then
- openssl rand -hex 16 > /etc/soii.key && \
+ openssl rand -hex 16 > /etc/soii.key &&
chmod 600 /etc/soii.key && sysctl -q \
"net.inet6.ip6.soiikey=$(</etc/soii.key)"
fi
@@ -315,7 +315,7 @@ _rc_parse_conf
# - execute the rc.d scripts specified by $pkg_scripts in reverse order
# - bring carp interfaces down gracefully
if [[ $1 == shutdown ]]; then
- if echo 2>/dev/null >>/var/db/host.random || \
+ if echo 2>/dev/null >>/var/db/host.random ||
echo 2>/dev/null >>/etc/random.seed; then
random_seed
else