fixed some unwanted error messages
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user