summaryrefslogtreecommitdiff
path: root/main.ha
diff options
context:
space:
mode:
Diffstat (limited to 'main.ha')
-rw-r--r--main.ha4
1 files changed, 0 insertions, 4 deletions
diff --git a/main.ha b/main.ha
index 953e917..093e440 100644
--- a/main.ha
+++ b/main.ha
@@ -60,10 +60,6 @@ export fn main() void = {
os::exit(1);
};
- if (!tty::isatty(os::stdin_file)) {
- fmt::fatal("Error: stdin is not a tty");
- };
-
let path = cmd.args[0];
let mode = os::stat(path)!.mode;
if (mode & fs::mode::DIR != 0) {