summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpinyadmin/sbin/pinyconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyadmin/sbin/pinyconfig b/pinyadmin/sbin/pinyconfig
index 4b6f84b..e78cf3c 100755
--- a/pinyadmin/sbin/pinyconfig
+++ b/pinyadmin/sbin/pinyconfig
@@ -16,7 +16,7 @@ $attr =~ s/\./_/g;
my $config;
-if ( $repo eq "--user" ) {
+if ( $reponame eq "--user" ) {
$config = Piny::Environment->instance->user->config;
} else {
$config = Piny::Repo->new( $reponame )->config;