Don't let autostart checking for background-setting tools end up in logs (Fix bug 5186)
This commit is contained in:
parent
d3a8bab0f0
commit
d0ba880668
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue