summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-03-09 22:57:48 (GMT)
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-03-10 19:40:27 (GMT)
commitafe0b27f7284f42ac761f8971aee0df5e9dfd782 (patch)
tree8ff6448e173ef26455ab68ed7dc4649775f4e129
parent3abf8a36314a2bec05dbaeef9c43d73263dde9c1 (diff)
downloaduser-scripts-afe0b27f7284f42ac761f8971aee0df5e9dfd782.zip
user-scripts-afe0b27f7284f42ac761f8971aee0df5e9dfd782.tar.gz
user-scripts-afe0b27f7284f42ac761f8971aee0df5e9dfd782.tar.bz2
screencap: Remove adb root
Rather add a note to the instructions that ADB should be running as root. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rwxr-xr-xscreencap/screencap.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/screencap/screencap.sh b/screencap/screencap.sh
index 77fba1a..53284b3 100755
--- a/screencap/screencap.sh
+++ b/screencap/screencap.sh
@@ -113,8 +113,6 @@ if [ $RECOVERY = true ] && [ -f $SCREEN_SIZE ]; then
exit 1
fi
-$ADB root
-
if [ $RECOVERY = false ] && [ -f $SCREEN_SIZE ]; then
get_screen_size
fi