From 1874570e59e68910016a73641fdb99bfcd914984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Garc=C3=ADa-Dom=C3=ADnguez?= Date: Tue, 21 Jun 2016 14:14:23 +0100 Subject: Replace can_run definition --- prepare-videochat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prepare-videochat.sh') diff --git a/prepare-videochat.sh b/prepare-videochat.sh index 0ca87d8..1a4475e 100755 --- a/prepare-videochat.sh +++ b/prepare-videochat.sh @@ -173,7 +173,7 @@ confirm() { can_run() { # It's either the path to a file, or the name of an executable in $PATH - (test -x "$1" || which "$1") &>/dev/null + which "$1" >/dev/null 2>/dev/null } start_adb() { -- cgit v1.2.3