commit | 4fe35097b3183f5e049298f915a47d273e02910f | [log] [tgz] |
---|---|---|
author | Gabriele M <moto.falcon.git@gmail.com> | Sat Jun 03 18:08:39 2017 +0200 |
committer | Arne Coucheron <arco68@gmail.com> | Sun Jun 04 19:46:13 2017 +0000 |
tree | 321611b4121e021ecd64dbf172dab1f9e32f6a82 | |
parent | 140d378f4f68a0bd045bd254fc89019dc22fd40f [diff] |
fix check_blacklist function to work on wiped /system partition If /system is empty, /tmp/addon.d/ will not exist, "*sh" won't be expanded, md5sum will not generate any output and the variable $s will be empty. Therefore grep, which will receive only one arg, will start to read the standard input and never exit, causing the installation to never end. Fix this checking whether we have files to read or not. Change-Id: I656eab42e54b3f81da8c5ac81374b9deddcf8484