Fix wrong overlay option variable

This commit is contained in:
archandanime 2023-10-03 10:14:15 +07:00 committed by GitHub
parent f2babb4593
commit 9efd94377c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
if df / | grep -q overlayfs; then if df / | grep -q overlayfs; then
echo "Unable to upgrade because rootfs is overlay" echo "Unable to upgrade because rootfs is overlay"
echo "Please disable rootfs overlay by setting ENABLE_OVERLAY_IMAGE=\"false\" in wz_mini.conf and reboot first" echo "Please disable rootfs overlay by setting ENABLE_OVERLAY_FOR_ROOTFS=\"false\" in wz_mini.conf and reboot first"
echo "You can change it back after upgrade is finished" echo "You can change it back after upgrade is finished"
exit 1 exit 1
fi fi