diff options
author | Bill Nottingham <notting@redhat.com> | 2012-06-21 14:40:02 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2012-06-21 14:40:02 -0400 |
commit | a30ffbf128e7f63ee1375efea459c99ce13f0c4c (patch) | |
tree | 41c55df2278c2f1d521090dd8c94b88a6969f4d5 | |
parent | 0e8d247010bb776a5b55639f38575b4f95e019b3 (diff) | |
download | initscripts-a30ffbf128e7f63ee1375efea459c99ce13f0c4c.tar initscripts-a30ffbf128e7f63ee1375efea459c99ce13f0c4c.tar.gz initscripts-a30ffbf128e7f63ee1375efea459c99ce13f0c4c.tar.bz2 initscripts-a30ffbf128e7f63ee1375efea459c99ce13f0c4c.tar.xz initscripts-a30ffbf128e7f63ee1375efea459c99ce13f0c4c.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 |