diff options
-rwxr-xr-x | usr/src/pinyadmin/sbin/rmrepo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/pinyadmin/sbin/rmrepo b/usr/src/pinyadmin/sbin/rmrepo index 41c2b13..dff8fe5 100755 --- a/usr/src/pinyadmin/sbin/rmrepo +++ b/usr/src/pinyadmin/sbin/rmrepo @@ -11,7 +11,7 @@ foreach my $reponame ( @ARGV ) { my $repo = Piny::Repo->new( $reponame ); - if ( $env->user->uid == 0 or $repo->owner->uid != $env->user->uid ) { + if ( $env->user->uid != 0 and $repo->owner->uid != $env->user->uid ) { print STDERR "You are not the owner of $reponame!\n"; exit 1; }; |