From 1a1dd59b890504ef29f0cc6b303c1b16c94b7753 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Wed, 3 May 2017 11:09:34 +0200
Subject: Some fixes and update gtk configuration

---
 utils/inst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'utils')

diff --git a/utils/inst b/utils/inst
index 7fd648f..2dbf474 100644
--- a/utils/inst
+++ b/utils/inst
@@ -4,7 +4,7 @@
 ask() {
 	echo -ne "\e[1;34m$1 (Y/n) \e[0m"
 	read
-	return [[ $REPLY =~ ^[Yy]?$ ]]
+	[[ $REPLY =~ ^[Yy]?$ ]]
 }
 
 dodiff() {
@@ -22,7 +22,7 @@ dodiff() {
 		fi
 		return
 	fi
-	if cmp "$1" "$OUT" >/dev/null; then
+	if cmp "$1" "$OUT" >/dev/null 2>&1; then
 		echo -e "\e[1;32mNo difference detected:\e[0m $OUT"
 		return
 	fi
-- 
cgit v1.2.3