diff options
author | Bill Nottingham <notting@redhat.com> | 2012-06-21 14:40:02 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2012-06-29 17:12:52 -0400 |
commit | 7584a3f5351dc6292bd0a5b5548749268b30b75d (patch) | |
tree | 342e0445c54d0dda79f41bcedbecb8ae8a5762c1 | |
parent | 65e41bb479d12512dd0353b9820348abe109a48f (diff) | |
download | initscripts-7584a3f5351dc6292bd0a5b5548749268b30b75d.tar initscripts-7584a3f5351dc6292bd0a5b5548749268b30b75d.tar.gz initscripts-7584a3f5351dc6292bd0a5b5548749268b30b75d.tar.bz2 initscripts-7584a3f5351dc6292bd0a5b5548749268b30b75d.tar.xz initscripts-7584a3f5351dc6292bd0a5b5548749268b30b75d.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 |