Skip to content

Commit ad2a8e6

Browse files
authored
Revert "cmd/utils: do not check free disk space in dev mode (ethereum#27281)"
This reverts commit 066d94d.
1 parent 802bc4d commit ad2a8e6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/utils/cmd.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ func StartNode(ctx *cli.Context, stack *node.Node, isConsole bool) {
118118
}
119119

120120
func monitorFreeDiskSpace(sigc chan os.Signal, path string, freeDiskSpaceCritical uint64) {
121-
if path == "" {
122-
return
123-
}
124121
for {
125122
freeSpace, err := getFreeDiskSpace(path)
126123
if err != nil {

0 commit comments

Comments
 (0)