aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/youri-upload.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/youri-upload.in b/bin/youri-upload.in
index 3534be3..9a8c962 100755
--- a/bin/youri-upload.in
+++ b/bin/youri-upload.in
@@ -209,6 +209,7 @@ eval {
$repository = create_instance(
'Youri::Repository',
test => $test,
+ user => $options{user},
verbose => $verbose > 0 ? $verbose - 1 : 0,
targets => [ keys %targets ],
$config->get_section($repository_id)
@@ -240,6 +241,7 @@ foreach my $id (@{$target{checks}}) {
'Youri::Upload::Check',
id => $id,
test => $test,
+ user => $options{user},
verbose => $verbose > 0 ? $verbose - 1 : 0,
$config->get_section($id)
);