Your ROOT_URL in app.ini is unix://git.lalonde.me:3000/ but you are visiting https://git.lalonde.me/matth/subgraph-oz/commit/525153b6362e2740b96c0cf7a413dab950b1a6c7?style=split&whitespace=ignore-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

should actually exit() on fatal errors

networking
brl 10 years ago
parent 93715e7602
commit 525153b636

@ -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