mirror of
https://github.com/curl/curl.git
synced 2026-04-15 03:01:40 +03:00
httpserver.pl: reorder sws command line options
make 'pidfile' and 'logfile' options appear first on command line in order to ensure that processing of other options which write to logfile do this to intended file and not the default one.
This commit is contained in:
parent
4bc6c1a026
commit
c358bab809
1 changed files with 1 additions and 1 deletions
|
|
@ -117,10 +117,10 @@ if(!$logfile) {
|
|||
$logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
|
||||
}
|
||||
|
||||
$flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
|
||||
$flags .= "--gopher " if($gopher);
|
||||
$flags .= "--fork " if(defined($fork));
|
||||
$flags .= "--connect $connect " if($connect);
|
||||
$flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
|
||||
$flags .= "--ipv$ipvnum --port $port --srcdir \"$srcdir\"";
|
||||
|
||||
if($verbose) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue