Fix missing printf arguments discovered by "go vet"
This commit is contained in:
parent
76311b60f2
commit
14276c9632
@ -27,7 +27,7 @@ func checkDir(dir string) error {
|
||||
return err
|
||||
}
|
||||
if !fi.IsDir() {
|
||||
return fmt.Errorf("%s is not a directory")
|
||||
return fmt.Errorf("%s is not a directory", dir)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ func daemonize() {
|
||||
c.Stdin = os.Stdin
|
||||
err := c.Start()
|
||||
if err != nil {
|
||||
fmt.Printf("daemonize: starting %s failed: %v\n", name)
|
||||
fmt.Printf("daemonize: starting %s failed: %v\n", name, err)
|
||||
os.Exit(1)
|
||||
}
|
||||
err = c.Wait()
|
||||
|
Loading…
Reference in New Issue
Block a user