Skip to content

Commit 0460a82

Browse files
committed
add an exit if rules creation fails
1 parent b417c10 commit 0460a82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

create_android_rules.sh

100755100644
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ sudo service udev restart
4949
else
5050

5151
echo "Your files was not created, please run again with sudo"
52+
exit -1
5253

5354
fi
5455

0 commit comments

Comments
 (0)