diff options
Diffstat (limited to 'commands/limit_darwin.go')
-rw-r--r-- | commands/limit_darwin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/limit_darwin.go b/commands/limit_darwin.go index ab8dba0f7..43371b898 100644 --- a/commands/limit_darwin.go +++ b/commands/limit_darwin.go @@ -22,14 +22,14 @@ import ( ) func init() { - check.AddCommand(limit) + checkCmd.AddCommand(limit) } var limit = &cobra.Command{ Use: "ulimit", Short: "Check system ulimit settings", Long: `Hugo will inspect the current ulimit settings on the system. - This is primarily to ensure that Hugo can watch enough files on some OSs`, +This is primarily to ensure that Hugo can watch enough files on some OSs`, RunE: func(cmd *cobra.Command, args []string) error { var rLimit syscall.Rlimit err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &rLimit) |