this changes the logic of the previous code: there ```$clean``` was used to verify that nscd was running/usable. why not use that here also? (if you don't like invalidating the cache, using ```nscd -g``` is a good test too (but prints a lot of into to stdout)