diff --git a/selfupdate/update_header.sh b/selfupdate/update_header.sh index 82da14c9..a09803a0 100755 --- a/selfupdate/update_header.sh +++ b/selfupdate/update_header.sh @@ -81,7 +81,7 @@ cd / rm -rf /root/stratux-update # re-enable overlay if it is configured. TODO: switch to jq for json parsing in the future once it's available in all installations -if [ "$(cat /boot/stratux.conf | grep 'PersistentLogging.:true')" != "" ]; then +if [ "$(cat /boot/stratux.conf | grep 'PersistentLogging.:\s*true')" != "" ]; then /sbin/overlayctl disable else /sbin/overlayctl enable