I think you need a '|| true' after this since it will return 1 if plymouthd isn't running. Also, plymouth isn't necessarily in the initramfs at all, so to avoid an error message I'd suggest guarding this with 'if command -v plymouth >/dev/null 2>&1'.
I think you need a '|| true' after this since it will return 1 if plymouthd isn't running. Also, plymouth isn't necessarily in the initramfs at all, so to avoid an error message I'd suggest guarding this with 'if command -v plymouth >/dev/null 2>&1'.