summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2012-11-18 18:29:11 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2012-11-18 18:29:11 +0000
commita6cfd22f7f9ca8f877dc6292d5f19c0200d4ecf3 (patch)
tree8b9a2ef20165ae0bf1419332eada431d0eaf9784 /etc
parentecfb480938628f1fc2ee71f996499d90349bf073 (diff)
Remove pointless local declaration.
ok halex@
Diffstat (limited to 'etc')
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index cbe4fa7c150..82965bce0c9 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.404 2012/11/04 21:47:22 kettenis Exp $
+# $OpenBSD: rc,v 1.405 2012/11/18 18:29:10 ajacoutot Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -232,7 +232,7 @@ fi
if [ X"$1" = X"shutdown" ]; then
dd if=/dev/arandom of=/var/db/host.random bs=65536 count=1 >/dev/null 2>&1
chmod 600 /var/db/host.random >/dev/null 2>&1
- local _c=$?
+ _c=$?
if [ ${_c} -eq 0 -a -n "${pkg_scripts}" ]; then
echo -n 'stopping package daemons:'
while [ -n "${pkg_scripts}" ]; do