diff options
author | osm0sis <osm0sis@outlook.com> | 2019-08-04 01:16:54 -0300 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2019-08-04 01:16:54 -0300 |
commit | f3f80014cc4f053a8ed7230136bee83cd42644d1 (patch) | |
tree | 0e2f0ec7e91d2f9c0aaf00fa81b7e94df60c1490 | |
parent | 958b2c873ab36f52c4830b3bb224c3753d5c47cd (diff) |
AK3+Backend: fix multi-line abort outputs
-rwxr-xr-x | META-INF/com/google/android/update-binary | 2 | ||||
-rwxr-xr-x | tools/ak3-core.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 8758ade..4d7a38e 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -53,7 +53,7 @@ unmount_all() { $bb umount /data) 2>/dev/null; } abort() { - ui_print "$*"; + ui_print "$@"; debugging; if [ ! -f anykernel.sh -o "$(file_getprop anykernel.sh do.cleanuponabort 2>/dev/null)" == 1 ]; then cleanup; diff --git a/tools/ak3-core.sh b/tools/ak3-core.sh index e1ce1f7..97b0e2e 100755 --- a/tools/ak3-core.sh +++ b/tools/ak3-core.sh @@ -22,7 +22,7 @@ ui_print() { # abort ["<text>" [...]] abort() { - ui_print " " "$*"; + ui_print " " "$@"; exit 1; } |