summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-17 04:49:07 -0500
committerMike Frysinger <vapier@gentoo.org>2011-01-17 04:49:12 -0500
commitfaa2df11597cf496205d3d629e3b3147b569afc8 (patch)
tree6e1db42c42365087686f48dbe9c39515de03f4ab /sh
parent711713d6642eff155bfede8a2dd213824016b76c (diff)
downloadopenrc-faa2df11597cf496205d3d629e3b3147b569afc8.tar.gz
openrc-faa2df11597cf496205d3d629e3b3147b569afc8.tar.bz2
openrc-faa2df11597cf496205d3d629e3b3147b569afc8.tar.xz
more whitespace cleanup
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sh')
-rw-r--r--sh/init.sh.Linux.in2
-rw-r--r--sh/runscript.sh.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in
index 0e581c1..ad48585 100644
--- a/sh/init.sh.Linux.in
+++ b/sh/init.sh.Linux.in
@@ -34,7 +34,7 @@ mount_svcdir()
[ $? -eq 0 ] && return 0
fi
fi
-
+
if grep -Eq "[[:space:]]+ramfs$" /proc/filesystems; then
fs="ramfs"
# ramfs has no special options
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in
index 947c2f7..229d1ee 100644
--- a/sh/runscript.sh.in
+++ b/sh/runscript.sh.in
@@ -111,7 +111,7 @@ start()
[ -n "$command" ] || return 0
local _background=
ebegin "Starting ${name:-$RC_SVCNAME}"
- if yesno "${command_background}"; then
+ if yesno "${command_background}"; then
_background="--background --pidfile"
fi
if yesno "$start_inactive"; then
@@ -252,7 +252,7 @@ while [ -n "$1" ]; do
eerror "$RC_SVCNAME: function \`$1' defined but does not exist"
exit 1
fi
- fi
+ fi
fi
done
eerror "$RC_SVCNAME: unknown function \`$1'"