Version bump: 0.6.

Fix for mongodump writing on standard error (1.8.x and 2.0.x).  Fix for
missing $ in the variable name $REPLICAONSLAVE.  Add support for --oplog
during taking a backup.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Version bump: 0.7.

Add support for --journal when taking the database dump.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Merge branch 0.7 with upstream master.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Version bump: 0.8.

Add better support for selecting Secondary member of the Replica Sets
to take the backup.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Merge pull request #5 from kwilczynski/0.7

Update and version bump to 0.7
Merge pull request #6 from kwilczynski/0.8

Update and bump version to 0.8
Fix stderr and stdout re-direction.  Clean-up code a little.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Merge pull request #7 from kwilczynski/0.8

Fix stderr and stdout re-direction.  Clean-up code a little.
- Version 0.9
- found and fixed a bug in select_secondary_member() (use -gt in tests, not >)
- improved documentation legibility, grammar, and formatting
Merge pull request #8 from jkeroes/master

automongobackup.sh select_secondary_member() and docs update
Remove surplus white-spaces.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Merge pull request #9 from kwilczynski/white-spaces

Remove surplus white-spaces.
Exit with a non-zero exit code if nothing is logged to STDERR.

A proper exit code is needed for monitoring of the success or failure of
the backup attempt by services like probyapp.com.

It is possible to get mongodump to not print to STDERR by making sure
that all options are configured correctly (for example, disabling
replication finding if not using replica sets).
Merge pull request #10 from signal/better_exit_code

Exit with a non-zero exit code if nothing is logged to STDERR.
Allow using either debian or centos style config, without having to change the script sources
Merge pull request #13 from kaiinkinen/master

Support both debian and centos/redhat type config out-of-the-box
Fix horrendous white space and remove all tab characterss
removed verbose conditional
more whitespace
bugfix: line 34 condition statement incorrect syntax