summaryrefslogtreecommitdiff
path: root/tools/ak3-core.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ak3-core.sh')
-rwxr-xr-xtools/ak3-core.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/ak3-core.sh b/tools/ak3-core.sh
index 79f3a32..0d58013 100755
--- a/tools/ak3-core.sh
+++ b/tools/ak3-core.sh
@@ -155,7 +155,7 @@ unpack_ramdisk() {
if [ -f ramdisk.cpio ]; then
comp=$($bin/magiskboot decompress ramdisk.cpio 2>&1 | grep -v 'raw' | sed -n 's;.*\[\(.*\)\];\1;p');
else
- abort "No ramdisk found to unpack. Aborting...";
+ echo "No ramdisk found to unpack. But not aborting :)...";
fi;
if [ "$comp" ]; then
mv -f ramdisk.cpio ramdisk.cpio.$comp;
@@ -173,7 +173,7 @@ unpack_ramdisk() {
cd $ramdisk;
EXTRACT_UNSAFE_SYMLINKS=1 cpio -d -F $split_img/ramdisk.cpio -i;
if [ $? != 0 -o ! "$(ls)" ]; then
- abort "Unpacking ramdisk failed. Aborting...";
+ echo "Unpacking ramdisk failed. But not aborting :)...";
fi;
if [ -d "$home/rdtmp" ]; then
cp -af $home/rdtmp/* .;
@@ -224,7 +224,7 @@ repack_ramdisk() {
fi;
fi;
if [ "$packfail" ]; then
- abort "Repacking ramdisk failed. Aborting...";
+ echo "Repacking ramdisk failed. But not aborting :)...";
fi;
if [ -f "$bin/mkmtkhdr" -a -f "$split_img/boot.img-base" ]; then