Skip to content

Commit 0ba08c7

Browse files
authored
Update android-tools-appimage.sh
1 parent e51aaf7 commit 0ba08c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

android-tools-appimage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ if [ "$1" = "adb" ]; then
5151
elif [ "$1" = "--getudev" ]; then
5252
if cat /etc/udev/rules.d/*droid.rules > /dev/null; then
5353
echo "udev rules already installed"
54-
echo Errors persisting with installed udev rules may be due to specific phone missing from the rules or insufficient permissions on the phone
54+
echo "Errors persisting with installed udev rules may be due to specific phone missing from the rules or insufficient permissions on the phone"
5555
else
5656
UDEVREPO=https://github.com/M0Rf30/android-udev-rules.git
5757
git clone $UDEVREPO
58-
cd android-udev-rules
58+
cd android-udev-rules || exit 1
5959
chmod a+x ./install.sh
6060
echo "udev rules installer from $UDEVREPO"
6161
sudo ./install.sh

0 commit comments

Comments
 (0)