From 1a3706de18c3f78ae1e5f528d239638643be871c Mon Sep 17 00:00:00 2001 From: Tobias Kessels Date: Tue, 18 Dec 2018 15:55:50 +0100 Subject: [PATCH] fixed some unwanted error messages --- automountctl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automountctl b/automountctl index 3b49cbc..1ea70f3 100755 --- a/automountctl +++ b/automountctl @@ -8,12 +8,12 @@ if ! (which gsettings 1>/dev/null) ; then fi #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 fi #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 fi