adamfeuer / rotate-backups

Rotate Backups - keep hourly, daily, and weekly backups
Other
82 stars 25 forks source link

Fix for having no config file #14

Closed stangelandcl closed 10 years ago

stangelandcl commented 10 years ago

This is for running without a config file. This change checks for a Settings section, which won't exist because the config file does not exist, otherwise exceptions are thrown and the script will not run.

adamfeuer commented 10 years ago

@stangelandcl Is the idea for this set of changes to for the script to run with just default settings?

stangelandcl commented 10 years ago

Yes. I just set the defaults to what I want and run the script without any config files existing.

adamfeuer commented 10 years ago

@stangelandcl Thanks for contributing this code!