omitted main benefit of hiding errors, argh
authorChris Koeritz <fred@gruntose.com>
Mon, 1 Jun 2020 21:08:08 +0000 (17:08 -0400)
committerChris Koeritz <fred@gruntose.com>
Mon, 1 Jun 2020 21:08:08 +0000 (17:08 -0400)
added in 2>/dev/null that i thought was already there.

scripts/core/functions.sh

index a490bd40d2b6312891ecc2fd808dfb88c7dfe08e..674fdc95ba3035b227b04409229136291ac9e045 100644 (file)
@@ -44,7 +44,7 @@ if [ -z "$skip_all" ]; then
       # there is no which command here.  we produce nothing due to this.
       echo
     fi
-    echo $($WHICHER $to_find)
+    echo $($WHICHER $to_find 2>/dev/null)
   }
 
   # makes a directory of the name specified and then tries to change the