mirror of
https://github.com/caddyserver/xcaddy.git
synced 2024-11-08 10:19:59 +00:00
fix off-by-one error (#3)
This commit is contained in:
parent
1cc8e08c16
commit
22d82434ea
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ func runBuild(args []string) error {
|
||||||
return fmt.Errorf("expected value after --output flag")
|
return fmt.Errorf("expected value after --output flag")
|
||||||
}
|
}
|
||||||
i++
|
i++
|
||||||
output = args[i+1]
|
output = args[i]
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if caddyVersion != "" {
|
if caddyVersion != "" {
|
||||||
|
|
Loading…
Reference in a new issue