diff options
author | jrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu> | 2010-10-16 21:51:46 -0700 |
---|---|---|
committer | jrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu> | 2010-10-16 21:51:46 -0700 |
commit | 8d4a1e9ec89e6fddeffebf48df667be8de659359 (patch) | |
tree | de55e164366e52e377e2fee80a09bdcada3e9875 /usr | |
parent | 8dc0563bd0ee69ae7efd8a13eb5ead81885df597 (diff) | |
download | piny-code-8d4a1e9ec89e6fddeffebf48df667be8de659359.tar.gz piny-code-8d4a1e9ec89e6fddeffebf48df667be8de659359.zip |
Make pinyconfig spit out more obvious errors.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/src/pinyadmin/bin/pinyconfig | 3 |
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 $@; |