Fix uninitialized warnings when running with --noaction

Fixes #25.

Thanks to @NZJourneyMan for the report.
isn't this possible in linux too? (chkconfig and systemctl could be used for this?)