Script does not fail gracefully when no devices are connected
thevoiceless opened this issue · comments
On commit 2549b3e
:
$ ./humpty.sh -d com.my.package databases/mydatabase.db
humpty.sh v1.2.0
Dumping com.my.package/databases/mydatabase.db to dumps/com.my.package/databases/mydatabase.db...
error: device not found
error: device not found
error: device not found
error: device not found
Success!
error: device not found
Could not restore file mode on /data/data/com.my.package/databases/mydatabase.db