diff options
author | Bill Nottingham <notting@redhat.com> | 2012-06-21 14:40:02 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2012-07-06 09:16:11 -0400 |
commit | e97413042bcce86bd1645fd7a605404f431d801b (patch) | |
tree | f8b0620afb3f804b867686b60fbbb8a2a4d509ad | |
parent | 9991cb0369e299032295b53f30227c7440ac86b9 (diff) | |
download | initscripts-e97413042bcce86bd1645fd7a605404f431d801b.tar initscripts-e97413042bcce86bd1645fd7a605404f431d801b.tar.gz initscripts-e97413042bcce86bd1645fd7a605404f431d801b.tar.bz2 initscripts-e97413042bcce86bd1645fd7a605404f431d801b.tar.xz initscripts-e97413042bcce86bd1645fd7a605404f431d801b.zip |
Echo to stderr in a bit more standard fashion. (#832220)
-rwxr-xr-x | service | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,6 +69,6 @@ done if [ -f "${SERVICEDIR}/${SERVICE}" ]; then env -i PATH="$PATH" TERM="$TERM" SYSTEMCTL_IGNORE_DEPENDENCIES=${SYSTEMCTL_IGNORE_DEPENDENCIES} SYSTEMCTL_SKIP_REDIRECT=${SYSTEMCTL_SKIP_REDIRECT} "${SERVICEDIR}/${SERVICE}" ${OPTIONS} else - [ -c /dev/stderr ] && echo $"Redirecting to /bin/systemctl ${OPTIONS} ${SERVICE}.service" >/dev/stderr + echo $"Redirecting to /bin/systemctl ${OPTIONS} ${SERVICE}.service" >&2 exec /bin/systemctl ${OPTIONS} ${SERVICE}.service fi |