mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-05 00:08:06 +08:00
Merge pull request #4081 from ipfs/fix/2478/316432988
remove `-f` flags from calls to init
This commit is contained in:
commit
2f260ca553
@ -64,7 +64,7 @@ func benchmarkAdd(amount int64) (*testing.BenchmarkResult, error) {
|
||||
}
|
||||
}
|
||||
|
||||
initCmd := exec.Command("ipfs", "init", "-f", "-b=1024")
|
||||
initCmd := exec.Command("ipfs", "init", "-b=1024")
|
||||
setupCmd(initCmd)
|
||||
if err := initCmd.Run(); err != nil {
|
||||
benchmarkError = err
|
||||
|
||||
@ -48,7 +48,7 @@ func benchmarkAdd(amount int64) (*testing.BenchmarkResult, error) {
|
||||
cmd.Env = env
|
||||
}
|
||||
|
||||
cmd := exec.Command("ipfs", "init", "-f", "-b=1024")
|
||||
cmd := exec.Command("ipfs", "init", "-b=1024")
|
||||
setupCmd(cmd)
|
||||
if err := cmd.Run(); err != nil {
|
||||
b.Fatal(err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user