summaryrefslogtreecommitdiffstats
path: root/commands/limit_darwin.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-11 07:54:08 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-04-11 09:50:19 +0200
commita8f7fbbb10aa78f3ebac008d29d9969bb197393c (patch)
tree257534d3ba238ef7922c68ceb91fd7b9dfba732e /commands/limit_darwin.go
parente8d6ca9531d19e4e898c57d77d2fd627ea38ade0 (diff)
commands: Move the commands related logic to its own file
See #4598
Diffstat (limited to 'commands/limit_darwin.go')
-rw-r--r--commands/limit_darwin.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/commands/limit_darwin.go b/commands/limit_darwin.go
index 20341fa1c..7dce75b3e 100644
--- a/commands/limit_darwin.go
+++ b/commands/limit_darwin.go
@@ -61,11 +61,6 @@ This is primarily to ensure that Hugo can watch enough files on some OSs`,
return &limitCmd{baseCmd: newBaseCmd(ccmd)}
}
-func init() {
- // TODO(bep) cli refactor
- //checkCmdOld.AddCommand(limit)
-}
-
func tweakLimit() {
var rLimit syscall.Rlimit
err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &rLimit)