Added stderr output management to jaillover.

Added Spawn support for stderr redirection.
Added --debug option to server cmd.
Added debug information to documentation.
Finnished script logger.
This commit is contained in:
Héctor Hurtado
2020-04-20 10:18:16 +02:00
parent 63a675675a
commit 248f7d1fcc
9 changed files with 353 additions and 40 deletions
+4
View File
@@ -34,4 +34,8 @@ func main() {
log.Fatalf("JSON marshal failed %+v", err)
}
fmt.Println(string(res))
if len(os.Args) > 1 && os.Args[1] == "--miserably-fail" {
fmt.Fprintln(os.Stderr, "jailover miserably failed")
os.Exit(1)
}
}