mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
exec-invoke: user EBADF where appropriate
This commit is contained in:
parent
2cd19499a0
commit
e2d66781ee
@ -744,7 +744,7 @@ static bool confirm_spawn_disabled(void) {
|
||||
}
|
||||
|
||||
static int ask_for_confirmation(const ExecContext *context, const ExecParameters *params, const char *cmdline) {
|
||||
int saved_stdout = -1, saved_stdin = -1, r;
|
||||
int saved_stdout = -EBADF, saved_stdin = -EBADF, r;
|
||||
_cleanup_free_ char *e = NULL;
|
||||
char c;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user