mirror of
https://github.com/ovh/the-bastion.git
synced 2025-02-25 08:04:38 +08:00
Merge pull request #44 from snk33/patch-1
allow adminSudo plugin to read from stdin
This commit is contained in:
commit
137305b562
1 changed files with 1 additions and 1 deletions
|
@ -68,6 +68,6 @@ OVH::Bastion::syslogFormatted(
|
|||
|
||||
osh_warn("ADMIN SUDO: $self, you'll now impersonate $sudoAs, this has been logged.");
|
||||
|
||||
$fnret = OVH::Bastion::execute(cmd => \@cmd, noisy_stdout => 1, noisy_stderr => 1);
|
||||
$fnret = OVH::Bastion::execute(cmd => \@cmd, noisy_stdout => 1, noisy_stderr => 1, expects_stdin => 1);
|
||||
|
||||
osh_exit $fnret;
|
||||
|
|
Loading…
Reference in a new issue