mirror of
https://github.com/rancher/os.git
synced 2025-08-12 12:02:22 +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()
|
log.InitLogger()
|
||||||
app := cli.NewApp()
|
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.Usage = fmt.Sprintf("%s RancherOS\nbuilt: %s", app.Name, config.BuildDate)
|
||||||
app.Version = config.Version
|
app.Version = config.Version
|
||||||
app.Author = "Rancher Labs, Inc."
|
app.Author = "Rancher Labs, Inc."
|
||||||
|
Loading…
Reference in New Issue
Block a user