diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index c9e02eb68c..b91c36d67d 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -118,6 +118,9 @@ func StartNode(ctx *cli.Context, stack *node.Node, isConsole bool) { } func monitorFreeDiskSpace(sigc chan os.Signal, path string, freeDiskSpaceCritical uint64) { + if path == "" { + return + } for { freeSpace, err := getFreeDiskSpace(path) if err != nil {