diff --git a/cmd/um/main.go b/cmd/um/main.go index aa2cccd..727c81c 100644 --- a/cmd/um/main.go +++ b/cmd/um/main.go @@ -151,8 +151,8 @@ func appMain(c *cli.Context) (err error) { } if inputStat.IsDir() { - wacthDir := c.Bool("watch") - if !wacthDir { + watchDir := c.Bool("watch") + if !watchDir { return proc.processDir(input) } else { return proc.watchDir(input)