diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/youri-upload.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/youri-upload.in b/bin/youri-upload.in index 9a8c962..d48afa5 100755 --- a/bin/youri-upload.in +++ b/bin/youri-upload.in @@ -209,7 +209,7 @@ eval { $repository = create_instance( 'Youri::Repository', test => $test, - user => $options{user}, + user => $config->get('user'), verbose => $verbose > 0 ? $verbose - 1 : 0, targets => [ keys %targets ], $config->get_section($repository_id) @@ -241,7 +241,7 @@ foreach my $id (@{$target{checks}}) { 'Youri::Upload::Check', id => $id, test => $test, - user => $options{user}, + user => $config->get('user'), verbose => $verbose > 0 ? $verbose - 1 : 0, $config->get_section($id) ); |