summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/App/BorgRestore/Settings.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/App/BorgRestore/Settings.pm b/lib/App/BorgRestore/Settings.pm
index 0e071b7..26a175e 100644
--- a/lib/App/BorgRestore/Settings.pm
+++ b/lib/App/BorgRestore/Settings.pm
@@ -36,6 +36,10 @@ You can set the following options in the config file.
Note that the configuration file is parsed as a perl script. Thus you can also
use any features available in perl itself.
+Also note that it is important that the last statement of the file is positive
+because it is used to check that running the config went well. You can simply
+use "1;" on the last line as shown in the example config.
+
=over
=item C<$borg_repo>
@@ -85,6 +89,8 @@ the disk too much.
);
$sqlite_cache_size = 2097152;
+1; #ensure positive return value
+
=head1 LICENSE
Copyright (C) 2016-2017 Florian Pritz E<lt>bluewind@xinu.atE<gt>