#790 stderr is always redirected to a log file when forking to background
Merge pull request #792 from deedrah/master

fix for #790 with stderr redirect