Skip to content

Commit 03e10ba

Browse files
committed
Better way to detect adbd
1 parent 94380d6 commit 03e10ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/radxa-otgutils

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ stop()
9595
MODE=
9696
case "$(basename "$0")" in
9797
radxa-adbd)
98-
if [[ ! -e /usr/bin/adbd ]]
98+
if ! command -v adbd
9999
then
100100
echo "Did not find adbd. Please check if related packages are installed."
101101
exit 1

0 commit comments

Comments
 (0)