mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-03-01 05:52:11 +00:00
There is no need for double grep, so choose a better regexp. Use && instead of ; between commands so the sequence of commands fail faster. Break the last sequence of commands in 2 calls run() so the proper return code can be tested for each. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>