diff options
Diffstat (limited to 'sh')
-rw-r--r-- | sh/init.sh.Linux.in | 2 | ||||
-rw-r--r-- | sh/runscript.sh.in | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 0e581c10..ad48585d 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 947c2f73..229d1ee7 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'" |