summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-18 03:40:19 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-18 03:40:19 +0200
commit21de3988abfdf69e7c1e2d00a087e2d8b18ad758 (patch)
tree2f482b4c57d25b3a8b877f9b23e495bd19e3870c /src/util.h
parent5b2a09037232980ad42ba3611cf194078ae5e546 (diff)
main: ignore EPERM in TIOCSTTY when opening terminal for crash shell
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index a77a952ed6..84dd2bc8d1 100644
--- a/src/util.h
+++ b/src/util.h
@@ -218,7 +218,7 @@ int ask(char *ret, const char *replies, const char *text, ...);
int reset_terminal(int fd);
int open_terminal(const char *name, int mode);
-int acquire_terminal(const char *name, bool fail, bool force);
+int acquire_terminal(const char *name, bool fail, bool force, bool ignore_tiocstty_eperm);
int release_terminal(void);
int flush_fd(int fd);