From 8d4a1e9ec89e6fddeffebf48df667be8de659359 Mon Sep 17 00:00:00 2001 From: "jrayhawk+piny.be@omgwallhack.org" Date: Sat, 16 Oct 2010 21:51:46 -0700 Subject: Make pinyconfig spit out more obvious errors. --- usr/src/pinyadmin/bin/pinyconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr') 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 $@; -- cgit v1.2.3