summaryrefslogtreecommitdiff
path: root/usr/src/pinyadmin/sbin/rmrepo
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/pinyadmin/sbin/rmrepo')
-rwxr-xr-xusr/src/pinyadmin/sbin/rmrepo2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/pinyadmin/sbin/rmrepo b/usr/src/pinyadmin/sbin/rmrepo
index 8b26feb..e12a067 100755
--- a/usr/src/pinyadmin/sbin/rmrepo
+++ b/usr/src/pinyadmin/sbin/rmrepo
@@ -5,7 +5,7 @@ use warnings;
use Piny;
-my $env = Piny::Environment->new;
+my $env = Piny::Environment->instance( );
foreach my $reponame ( @ARGV ) {