From c94a683b87d4cea11ecce436327abb56f26894f3 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Tue, 20 Jun 2017 21:54:46 +1000 Subject: [PATCH] autoformat Signed-off-by: Sven Dowideit --- cmd/control/autologin.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/control/autologin.go b/cmd/control/autologin.go index 2254a1e4..9aa5dd7c 100644 --- a/cmd/control/autologin.go +++ b/cmd/control/autologin.go @@ -27,7 +27,6 @@ func AutologinMain() { app.Run(os.Args) } - func autologinAction(c *cli.Context) error { cmd := exec.Command("/bin/stty", "sane") cmd.Stderr = os.Stderr @@ -52,7 +51,7 @@ func autologinAction(c *cli.Context) error { // replace \n and \l banner := config.Banner banner = strings.Replace(banner, "\\v", config.Version, -1) - banner = strings.Replace(banner, "\\s", "RancherOS " + runtime.GOARCH, -1) + banner = strings.Replace(banner, "\\s", "RancherOS "+runtime.GOARCH, -1) banner = strings.Replace(banner, "\\r", "4.9....", -1) banner = strings.Replace(banner, "\\n", cfg.Hostname, -1) banner = strings.Replace(banner, "\\l", tty, -1) @@ -69,4 +68,3 @@ func autologinAction(c *cli.Context) error { } return nil } -