summaryrefslogtreecommitdiffstats
path: root/src/tui/light_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui/light_unix.go')
-rw-r--r--src/tui/light_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/light_unix.go b/src/tui/light_unix.go
index 46188869..55e2b246 100644
--- a/src/tui/light_unix.go
+++ b/src/tui/light_unix.go
@@ -58,7 +58,7 @@ func openTtyIn() *os.File {
}
}
fmt.Fprintln(os.Stderr, "Failed to open "+consoleDevice)
- os.Exit(2)
+ util.Exit(2)
}
return in
}