(cmd *cobra.Command, args []string)
| 490 | } |
| 491 | |
| 492 | func runHelp(cmd *cobra.Command, args []string) { |
| 493 | if utils.IsInsideContainer() { |
| 494 | if !utils.IsInsideToolboxContainer() { |
| 495 | fmt.Fprintf(os.Stderr, "Error: this is not a Toolbx container\n") |
| 496 | return |
| 497 | } |
| 498 | |
| 499 | if _, err := utils.ForwardToHost(); err != nil { |
| 500 | fmt.Fprintf(os.Stderr, "Error: %s\n", err) |
| 501 | return |
| 502 | } |
| 503 | |
| 504 | return |
| 505 | } |
| 506 | |
| 507 | if err := showManual("toolbox-run"); err != nil { |
| 508 | fmt.Fprintf(os.Stderr, "Error: %s\n", err) |
| 509 | return |
| 510 | } |
| 511 | } |
| 512 | |
| 513 | func callFlatpakSessionHelper(container podman.Container) error { |
| 514 | name := container.Name() |
nothing calls this directly
no test coverage detected
searching dependent graphs…