From 26dcbfc1f99c1bf6a817f7754dabac03a066f26e Mon Sep 17 00:00:00 2001 From: Jacob Salmela Date: Sun, 27 Dec 2015 12:25:35 -0600 Subject: [PATCH] hide minor error An error shows up on the first install that `latentWhitelist.txt` doesn't exist and can't be removed. Redirecting STDERR should fix this. --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 57882c5..1a8f48e 100755 --- a/gravity.sh +++ b/gravity.sh @@ -183,7 +183,7 @@ function gravity_pulsar() { # regexp so it can be parsed out with grep -x awk -F '[# \t]' 'NF>0&&$1!="" {print "^"$1"$"}' $whitelist | sed 's/\./\\./g' > $latentWhitelist else - rm $latentWhitelist >/dev/null + rm $latentWhitelist 2>/dev/null fi # Prevent our sources from being pulled into the hole