#!/usr/bin/env bash
# $FreeWRT$
#-
# This file is part of the FreeWRT project. FreeWRT is copyrighted
# material, please see the LICENCE file in the top-level directory
# or at http://www.freewrt.org/licence for details.

X=$(/usr/bin/which "$@")

test -x "$X" || exit 1
echo "$X"
exit 0
