]> git.nbdom.net Git - nb.git/commitdiff
etc/profile.d/functions
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 18 Feb 2019 22:50:58 +0000 (22:50 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 18 Feb 2019 22:50:58 +0000 (22:50 +0000)
etc/profile.d/functions

index 6d4eb239ad2ee6b015d6d1bc00998c0f0dee6a63..50cf88c55a76865d31fe5f30018d459206006adb 100755 (executable)
@@ -695,7 +695,7 @@ password_create() {
 if ! type which > /dev/null; then
 
 which() {
-       type "$1"
+       type "$1" 2>&1
 }
 
 fi