diff --git a/scripts/boot_patch.sh b/scripts/boot_patch.sh index e2370a5e7..6084b7df1 100644 --- a/scripts/boot_patch.sh +++ b/scripts/boot_patch.sh @@ -137,7 +137,7 @@ esac # Work around custom legacy Sony /init -> /(s)bin/init_sony : /init.real setup INIT=init -if [ $((status & 0x4)) -ne 0 ]; then +if [ $((STATUS & 4)) -ne 0 ]; then INIT=init.real fi