diff --git a/palera1n.sh b/palera1n.sh index 1e12c75..a0d0a35 100755 --- a/palera1n.sh +++ b/palera1n.sh @@ -292,7 +292,7 @@ _exit_handler() { cd logs for file in *.log; do - if [[ "$file" != "SUCCESS_"* ]] || [[ "$file" != "FAIL_"* ]]; then + if [[ "$file" != "SUCCESS_"* ]] && [[ "$file" != "FAIL_"* ]]; then mv "$file" FAIL_${file} fi done @@ -452,7 +452,7 @@ if [ "$(get_device_mode)" = "ramdisk" ]; then fi if [ "$(get_device_mode)" = "normal" ]; then - version=$(_info normal ProductVersion) + version=${version:-$(_info normal ProductVersion)} arch=$(_info normal CPUArchitecture) if [ "$arch" = "arm64e" ]; then echo "[-] palera1n doesn't, and never will, work on non-checkm8 devices" @@ -991,8 +991,8 @@ if [ -z "$semi_tethered" ]; then fi cd logs -for file in *.log; do - if [[ "$file" != "SUCCESS_"* ]]; then +for file in *.log; do + if [[ "$file" != "SUCCESS_"* ]] && [[ "$file" != "FAIL_"* ]]; then mv "$file" SUCCESS_${file} fi done diff --git a/ramdisk b/ramdisk index aaa1241..8aab02c 160000 --- a/ramdisk +++ b/ramdisk @@ -1 +1 @@ -Subproject commit aaa1241d5003d0cd6b639ea0c003893217383d05 +Subproject commit 8aab02c852fb3c92ec01d03b549447616948c659