Commit 7bc0351d authored by Lennart Poettering's avatar Lennart Poettering
Browse files

util: fix error handling in acquire_terminal()

parent fc9b2a84
......@@ -2030,7 +2030,7 @@ int acquire_terminal(const char *name, bool fail, bool force, bool ignore_tiocst
}
if (e.wd != wd || !(e.mask & IN_CLOSE)) {
r = -errno;
r = -EIO;
goto fail;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment