summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraksnapshot-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/draksnapshot-config b/draksnapshot-config
index 546187e..6faf99a 100755
--- a/draksnapshot-config
+++ b/draksnapshot-config
@@ -49,6 +49,7 @@ my %default_values = (
"hourly" => 6,
"daily" => 7,
"weekly" => 4,
+ "monthly" => "",
);
my ($backup_list, $exclude_list) = map {
@@ -302,7 +303,7 @@ sub save_keyword {
undef $_;
$removed++;
}
- if ($removed == 1 && !$done) {
+ if ($removed && !$done) {
$done++;
$_ .= $new_val;
}