Set WW_CONTAINER_SHELL to Container Name

This commit is contained in:
Brian Phan
2022-12-06 09:24:01 -08:00
parent 7cd8f030ec
commit b0389e1337

View File

@@ -40,7 +40,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
c.Stdout = os.Stdout
c.Stderr = os.Stderr
os.Setenv("WW_CONTAINER_SHELL", "1")
os.Setenv("WW_CONTAINER_SHELL", containerName)
if err := c.Run(); err != nil {
fmt.Println(err)