diff options
Diffstat (limited to 'src/toru/toru-where')
-rwxr-xr-x | src/toru/toru-where | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/toru/toru-where b/src/toru/toru-where index 14a40eb..ba7fb0a 100755 --- a/src/toru/toru-where +++ b/src/toru/toru-where @@ -19,7 +19,12 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. . "$(librelib conf)" -load_files libretools -check_vars libretools TORUPATH || exit 1 -tcamgr get "${TORUPATH}/paths.tch" "$1" 2>/dev/null || echo "" +main() { + load_files libretools + check_vars libretools TORUPATH || exit 1 + + tcamgr get "${TORUPATH}/paths.tch" "$1" 2>/dev/null || echo "" +} + +main "$@" |