summaryrefslogtreecommitdiff
path: root/prepare-videochat.sh
diff options
context:
space:
mode:
authorAntonio García-Domínguez <nyoescape@gmail.com>2016-06-21 14:14:23 +0100
committerAntonio García-Domínguez <nyoescape@gmail.com>2016-06-21 14:14:29 +0100
commit1874570e59e68910016a73641fdb99bfcd914984 (patch)
tree37abaeb98b4d8baf21092ce4cd8e5048161db4a7 /prepare-videochat.sh
parentd9baeb24a79a2a161f996e5376a4db59a8090613 (diff)
Replace can_run definition
Diffstat (limited to 'prepare-videochat.sh')
-rwxr-xr-xprepare-videochat.sh2
1 files changed, 1 insertions, 1 deletions
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() {