summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2012-10-01 00:53:57 -0400
committerDana Jansens <danakj@orodu.net>2012-10-06 22:30:02 -0400
commitd0ba8806689ea80b6a739122aaf8dac81d2a3e5c (patch)
tree7060e0b10dbc8d602236f5972831d3bd56e1765e
parentd3a8bab0f09e6a77a98e3c54fe5a57966bb0d636 (diff)
Don't let autostart checking for background-setting tools end up in logs (Fix bug 5186)
-rwxr-xr-xdata/autostart/openbox-autostart.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/autostart/openbox-autostart.in b/data/autostart/openbox-autostart.in
index 063c635f..5c727774 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"