Преглед изворни кода

Return with weirder exit status of 15 on read error

Alois Mahdal пре 3 дана
родитељ
комит
c20a1d48de
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      app/main.go

+ 1
- 1
app/main.go Прегледај датотеку

@@ -23,7 +23,7 @@ func repl(ctx *core.Context) {
23 23
 		input, err := getInput(ctx)
24 24
 		if err != nil {
25 25
 			fmt.Fprintln(os.Stderr, "Error reading input: ", err)
26
-			os.Exit(1)
26
+			os.Exit(15)
27 27
 		}
28 28
 
29 29
 		runnable, err := runnable.Parse(ctx, input)