summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {