mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
If running in debug then don't call curl with --silent
This commit is contained in:
parent
13e9f6f4b5
commit
ec7dcef813
@ -40,8 +40,9 @@ $dsn = "dbi:Pg:dbname=$dsn";
|
||||
my $dbh = DBI->connect($dsn, $dbuser, $dbpass, { AutoCommit => 0 } ) or die "Can't connect to database $dsn";
|
||||
|
||||
|
||||
my @arguments = ( "--basic", "--proxy", "", "--silent" );
|
||||
push @arguments, "--verbose" if ( defined($ARGV[2]) );
|
||||
my @arguments = ( "--basic", "--proxy", "" );
|
||||
push @arguments, "--silent" unless ( $debug );
|
||||
push @arguments, "--verbose" if ( $debug );
|
||||
|
||||
my $url;
|
||||
my $is_head_request = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user