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

remove `-f` flags from calls to init
This commit is contained in:
Jeromy Johnson 2017-07-22 23:04:54 -07:00 committed by GitHub
commit 2f260ca553
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)