aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-09-08 09:59:38 +0200
committerThomas Bächler <thomas@archlinux.org>2010-09-08 09:59:38 +0200
commitcf20e8cb9244808f72093a3052c5b0d22e5c81f6 (patch)
tree91f6395d23002c990e5a1ae88a7901165488109f
parent3904e34fe3605b84ac5a0309a2e033127272a108 (diff)
downloadinitscripts-cf20e8cb9244808f72093a3052c5b0d22e5c81f6.tar.xz
Fix two typos introduced by the latest patch series
-rwxr-xr-xnetwork2
-rwxr-xr-xrc.sysinit2
2 files changed, 2 insertions, 2 deletions
diff --git a/network b/network
index eac824e..2f85901 100755
--- a/network
+++ b/network
@@ -96,7 +96,7 @@ rtup()
rtdown()
{
- if [[ ! $1 ]; then
+ if [[ ! $1 ]]; then
echo "usage: $0 rtdown <route_name>"
return 1
fi
diff --git a/rc.sysinit b/rc.sysinit
index b25f7ac..dc916a2 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -275,7 +275,7 @@ stat_busy "Removing Leftover Files"
/bin/rm -f /var/lock/* &>/dev/null
/bin/rm -rf /tmp/* /tmp/.* &>/dev/null
/bin/rm -f /forcefsck &>/dev/null
-[[ -d /var/run ]] && /usr/bin/find /var/run/ \! -type d -delete )
+[[ -d /var/run ]] && /usr/bin/find /var/run/ \! -type d -delete
: >| /var/run/utmp
/bin/chmod 0664 /var/run/utmp
# Keep {x,k,g}dm happy with xorg