linuxmint/mintsystem — pull request #7 by AladW (2014-05-24 03:40:42+00:00)
Title: prevent memory leak

When specifying search with no parameters, it executes

find / -type f -exec grep -iH "" --color=auto -n {} \;

Which greps every file on the root partition (it bypasses the while loop), grinding the system to a halt. Specifying several case statements gives the expected behaviour (display usage) without affecting functionality.