diff options
author | Matt Turner <mattst88@gentoo.org> | 2019-07-29 18:38:30 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2019-07-29 18:49:41 -0700 |
commit | 39a053a99e04391563810fe953112d2249317681 (patch) | |
tree | f74804839b8985e711276f60b5345ca634130c38 /x11-base | |
parent | sys-apps/portage: Remove old versions (diff) | |
download | gentoo-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-11 | 2 |
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} |