Set WW_CONTAINER_SHELL to Container Name
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user