remove `-f` flags from calls to init
It doesn't mean anything anymore. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Jul 19, 2017 at 11:46 UTC
87f02e53a79153ca0ae5c04ee9bd3300c596e3d9
2 files changed
+2
-2
test/bench/bench_cli_ipfs_add/main.go
+1
-1
@@ -64,7 +64,7 @@ func benchmarkAdd(amount int64) (*testing.BenchmarkResult, error) {
64
}
65
}
66
67
- initCmd := exec.Command("ipfs", "init", "-f", "-b=1024")
67
+ initCmd := exec.Command("ipfs", "init", "-b=1024")
68
setupCmd(initCmd)
69
if err := initCmd.Run(); err != nil {
70
benchmarkError = err
test/bench/offline_add/main.go
+1
-1
@@ -48,7 +48,7 @@ func benchmarkAdd(amount int64) (*testing.BenchmarkResult, error) {
48
cmd.Env = env
49
}
50
51
- cmd := exec.Command("ipfs", "init", "-f", "-b=1024")
51
+ cmd := exec.Command("ipfs", "init", "-b=1024")
52
setupCmd(cmd)
53
if err := cmd.Run(); err != nil {
54
b.Fatal(err)