From 7389eee3207cf2e06b6392cac3cdbe622d284df7 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 29 Oct 2012 15:55:54 -0300 Subject: Return nothing when missing --- toru-where | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/toru-where b/toru-where index f732dc0..e9ab29d 100755 --- a/toru-where +++ b/toru-where @@ -1,10 +1,7 @@ #!/bin/bash # Locates a PKGBUILD dir on toru's path cache - source /etc/libretools.conf PATHFILE=${TORUPATH}/paths.tch -exec tcamgr get ${PATHFILE} $1 - -exit $? +tcamgr get ${PATHFILE} $1 2>/dev/null || echo "" -- cgit v1.2.3-54-g00ecf