diff options
author | Bill Nottingham <notting@redhat.com> | 2008-01-07 20:07:44 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-01-07 20:07:44 +0000 |
commit | e64f509e445d7b1835e247136664cf91bc27866d (patch) | |
tree | a0e4d22565435ef2b213a3b38b4f0c02814badbf /service | |
parent | b6e3b7a0761bdc5c91e19587edfde4d53e15a8df (diff) | |
download | initscripts-e64f509e445d7b1835e247136664cf91bc27866d.tar initscripts-e64f509e445d7b1835e247136664cf91bc27866d.tar.gz initscripts-e64f509e445d7b1835e247136664cf91bc27866d.tar.bz2 initscripts-e64f509e445d7b1835e247136664cf91bc27866d.tar.xz initscripts-e64f509e445d7b1835e247136664cf91bc27866d.zip |
just test for existence, so that errors are passed up (#427767)
Diffstat (limited to 'service')
-rwxr-xr-x | service | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ while [ $# -gt 0 ]; do esac done -if [ -x "${SERVICEDIR}/${SERVICE}" ]; then +if [ -f "${SERVICEDIR}/${SERVICE}" ]; then env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVICE}" ${OPTIONS} else echo $"${SERVICE}: unrecognized service" >&2 |