mirror of
https://github.com/rancher/os.git
synced 2025-08-01 23:17:50 +00:00
Merge pull request #2277 from vancluever/b-another-shutdown-fix
cmd/power: Another shutdown command fix
This commit is contained in:
commit
4876087067
@ -27,7 +27,7 @@ func Shutdown() {
|
||||
log.InitLogger()
|
||||
app := cli.NewApp()
|
||||
|
||||
app.Name = os.Args[0]
|
||||
app.Name = filepath.Base(os.Args[0])
|
||||
app.Usage = fmt.Sprintf("%s RancherOS\nbuilt: %s", app.Name, config.BuildDate)
|
||||
app.Version = config.Version
|
||||
app.Author = "Rancher Labs, Inc."
|
||||
|
Loading…
Reference in New Issue
Block a user