Commit 11a6c110 authored by Evgeni Golov's avatar Evgeni Golov

fix detection of (no)persistence option in read-only mode

thanks intrigeri for finding the bug and mika for suggesting a fix
parent 4ec4294d
......@@ -54,7 +54,7 @@ Read_only ()
esac
done
if grep -qe persistence /proc/cmdline
if grep -qw persistence /proc/cmdline
then
printf " * Persistence mode enabled, searching for persistency related devices to unlock\n" >/dev/console
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment