Commit 87f02e53 authored by Steven Allen's avatar Steven Allen

remove `-f` flags from calls to init

It doesn't mean anything anymore.

License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent 4c348701
...@@ -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