The task that checks for AppArmor being disabled at boot time fails if the line isn't present in dmesg. This patch ensures that the output from dmesg is always maintained and the shell always comes back with success. Closes-Bug: 1694508 Change-Id: Ied083e02855b2173d766c7cfd33045e737a79a43