diff options
author | Ryan Moeller <[email protected]> | 2021-03-11 15:01:58 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-03-12 16:17:01 -0800 |
commit | e0b53a5dbbfdf8f7cb85bfa7f3c4f9650bc590ec (patch) | |
tree | 7fdfa4faa65ce70028166be16dd4f9dcbed032e2 /etc | |
parent | e464f7c7cc1efb6a0bcae70f77bec13fc531cd20 (diff) |
ZTS: Use ksh and current environment for user_run
The current user_run often does not work as expected. Commands are run
in a different shell, with a different environment, and all output is
discarded.
Simplify user_run to retain the current environment, eliminate eval,
and feed the command string into ksh. Enhance the logging for
user_run so we can see out and err.
Reviewed-by: John Kennedy <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #11185
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions