Commit 2f260ca5 authored by Jeromy Johnson's avatar Jeromy Johnson Committed by GitHub

Merge pull request #4081 from ipfs/fix/2478/316432988

remove `-f` flags from calls to init
parents c854d2a8 87f02e53
...@@ -64,7 +64,7 @@ func benchmarkAdd(amount int64) (*testing.BenchmarkResult, error) { ...@@ -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) setupCmd(initCmd)
if err := initCmd.Run(); err != nil { if err := initCmd.Run(); err != nil {
benchmarkError = err benchmarkError = err
......
...@@ -48,7 +48,7 @@ func benchmarkAdd(amount int64) (*testing.BenchmarkResult, error) { ...@@ -48,7 +48,7 @@ func benchmarkAdd(amount int64) (*testing.BenchmarkResult, error) {
cmd.Env = env cmd.Env = env
} }
cmd := exec.Command("ipfs", "init", "-f", "-b=1024") cmd := exec.Command("ipfs", "init", "-b=1024")
setupCmd(cmd) setupCmd(cmd)
if err := cmd.Run(); err != nil { if err := cmd.Run(); err != nil {
b.Fatal(err) b.Fatal(err)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment