Comment 10 for bug 183682

Revision history for this message
Daniel Hahler (blueyed) wrote :

Jerone, I think Steve is right about the no-op grep change.. otherwise, to make it more specific you could have used "grep ^status: $BLUETOOTH | grep -q disabled", but this (and your change) makes it more fragile probably. However, if the match should be more specific, explicitly selecting the status line (by prefix instead of line number) makes more sense IMHO.