Here's what makes it work on linux

I'm grepping the file, taking the last value (as that's what'll be used in the system), removing the spaces, and comparing it.

Have PR'ed this upstream also