mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
exec shell: fix shell config
Currently each time when ctop started it overwrites "shell" config with default value of program argument. This means that in fact default shell config is never worked at all.
This commit is contained in:
2
main.go
2
main.go
@@ -46,7 +46,7 @@ func main() {
|
||||
invertFlag = flag.Bool("i", false, "invert default colors")
|
||||
scaleCpu = flag.Bool("scale-cpu", false, "show cpu as % of system total")
|
||||
connectorFlag = flag.String("connector", "docker", "container connector to use")
|
||||
defaultShell = flag.String("shell", "sh", "exec shell to use")
|
||||
defaultShell = flag.String("shell", "", "exec shell to use")
|
||||
)
|
||||
flag.Parse()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user