1
0
mirror of https://github.com/rancher/os.git synced 2025-09-13 21:51:33 +00:00

Fix golint check error

https://github.com/rancher/os/issues/2166
This commit is contained in:
niusmallnan
2017-12-06 13:45:49 +08:00
parent d8bba34a87
commit 7b474cd905
8 changed files with 13 additions and 62 deletions

View File

@@ -160,11 +160,7 @@ func editSyslinux(c *cli.Context) error {
"rancher/os-console:"+config.Version,
"boot/global.cfg")
cmd.Stdout, cmd.Stderr, cmd.Stdin = os.Stdout, os.Stderr, os.Stdin
if err := cmd.Run(); err != nil {
return err
}
return nil
return cmd.Run()
}
func configSet(c *cli.Context) error {