fixed some unwanted error messages

This commit is contained in:
Tobias Kessels
2018-12-18 15:55:50 +01:00
parent 0f4a0e8d78
commit 1a3706de18

View File

@@ -8,12 +8,12 @@ if ! (which gsettings 1>/dev/null) ; then
fi fi
#test for existing mate settings #test for existing mate settings
if (gsettings get org.mate.media-handling automount 1>/dev/null) ; then if (gsettings get org.mate.media-handling automount 1>/dev/null 2>/dev/null) ; then
mate=1 mate=1
fi fi
#test for existing gnome settings #test for existing gnome settings
if (gsettings get org.gnome.desktop.media-handling automount 1>/dev/null) ; then if (gsettings get org.gnome.desktop.media-handling automount 1>/dev/null 2>/dev/null) ; then
gnome=1 gnome=1
fi fi