summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2019-07-29 18:38:30 -0700
committerMatt Turner <mattst88@gentoo.org>2019-07-29 18:49:41 -0700
commit39a053a99e04391563810fe953112d2249317681 (patch)
treef74804839b8985e711276f60b5345ca634130c38 /x11-base
parentsys-apps/portage: Remove old versions (diff)
downloadgentoo-39a053a99e04391563810fe953112d2249317681.tar.gz
gentoo-39a053a99e04391563810fe953112d2249317681.tar.bz2
gentoo-39a053a99e04391563810fe953112d2249317681.zip
x11-base/xorg-server: Suppress meaningless errors during shutdown
Thanks to crocket for the patch. Closes: https://bugs.gentoo.org/689936 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xorg-server/files/xdm.initd-112
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-base/xorg-server/files/xdm.initd-11 b/x11-base/xorg-server/files/xdm.initd-11
index c9ec36746d09..7b2f992325fe 100644
--- a/x11-base/xorg-server/files/xdm.initd-11
+++ b/x11-base/xorg-server/files/xdm.initd-11
@@ -207,7 +207,7 @@ stop() {
ebegin "Stopping ${myservice}"
- if start-stop-daemon --quiet --test --stop --exec "${myexe}"; then
+ if start-stop-daemon --quiet --test --stop --exec "${myexe}" 2>/dev/null; then
start-stop-daemon --stop --exec "${myexe}" --retry TERM/5/TERM/5 \
${mypidfile:+--pidfile} ${mypidfile} \
${myname:+--name} ${myname}