summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/libpiny/lib/Piny/Config.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/libpiny/lib/Piny/Config.pm b/usr/src/libpiny/lib/Piny/Config.pm
index 8b6e192..76405ee 100644
--- a/usr/src/libpiny/lib/Piny/Config.pm
+++ b/usr/src/libpiny/lib/Piny/Config.pm
@@ -175,13 +175,13 @@ sub tweakable {
if ( $s->has_confpath ) {
$s->save;
- $s->clear_conf;
} else {
carp "Attribute $attrname modification ignored!";
- $s->clear_conf;
- my $clearer = "clear_$attr";
- $s->$clearer;
};
+
+ $s->clear_conf;
+ my $clearer = "clear_$attr";
+ $s->$clearer;
}
);