summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xusr/src/pinyadmin/bin/pinyconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/pinyadmin/bin/pinyconfig b/usr/src/pinyadmin/bin/pinyconfig
index 525726d..f6752db 100755
--- a/usr/src/pinyadmin/bin/pinyconfig
+++ b/usr/src/pinyadmin/bin/pinyconfig
@@ -24,6 +24,9 @@ if ( defined $value ) {
if ( $@ ) {
print STDERR "$attr is not a legal tweakable, or $value is not a legal value for that tweakable.\n$@\n";
};
+ if ( $value ne $repo->config->$attr ) {
+ print STDERR "Failed to set $attr (perhaps an override is in place)\n";
+ };
};
undef $@;