Merge branch 'master' of ssh://github.com/subgraph/oz

master
xSmurf 10 years ago
commit 33484fd11b

@ -108,9 +108,11 @@ func handleShell(c *cli.Context) {
sb, err := getSandboxById(id) sb, err := getSandboxById(id)
if err != nil { if err != nil {
fmt.Printf("Error retrieving sandbox list: %v\n", err) fmt.Printf("Error retrieving sandbox list: %v\n", err)
os.Exit(1)
} }
if sb == nil { if sb == nil {
fmt.Printf("No sandbox found with id = %d\n", id) fmt.Printf("No sandbox found with id = %d\n", id)
os.Exit(1)
} }
term := os.Getenv("TERM") term := os.Getenv("TERM")
fd, err := ozinit.RunShell(sb.Address, term) fd, err := ozinit.RunShell(sb.Address, term)

Loading…
Cancel
Save