fix no output when nolog=true
Merge branch 'master' of github.com:maddie/scripts
Merge branch 'master' of github.com:maddie/scripts