From: Dana Jansens Date: Mon, 1 Oct 2012 04:53:57 +0000 (-0400) Subject: Don't let autostart checking for background-setting tools end up in logs (Fix bug... X-Git-Tag: release-3.5.1~60 X-Git-Url: http://git.openbox.org/?p=dana%2Fopenbox.git;a=commitdiff_plain;h=d0ba8806689ea80b6a739122aaf8dac81d2a3e5c;hp=d3a8bab0f09e6a77a98e3c54fe5a57966bb0d636 Don't let autostart checking for background-setting tools end up in logs (Fix bug 5186) --- diff --git a/data/autostart/openbox-autostart.in b/data/autostart/openbox-autostart.in index 063c635..5c72777 100755 --- a/data/autostart/openbox-autostart.in +++ b/data/autostart/openbox-autostart.in @@ -2,11 +2,11 @@ # Set a background color BG="" -if which hsetroot >/dev/null; then +if which hsetroot >/dev/null 2>/dev/null; then BG=hsetroot -elif which esetroot >/dev/null; then +elif which esetroot >/dev/null 2>/dev/null; then BG=esetroot -elif which xsetroot >/dev/null; then +elif which xsetroot >/dev/null 2>/dev/null; then BG=xsetroot fi test -z $BG || $BG -solid "#303030"