mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Merge pull request #5515 from immarvin/ondebugmode
fix when xcatdebugmode=1, non shell (/bin/sh) postscripts will not show output back on MN #5510
This commit is contained in:
commit
8c6a111c59
@ -896,7 +896,7 @@ run_ps () {
|
||||
bash -x ./\$@ 2>&1 | tee -a \$logfile | tee >(logger -t xcat.mypostscript -p debug)
|
||||
ret_local=\${PIPESTATUS[0]}
|
||||
else
|
||||
./\$@ 2>&1 | tee -a \$logfile | logger -t xcat.mypostscript -p debug
|
||||
./\$@ 2>&1 | tee -a \$logfile | tee >(logger -t xcat.mypostscript -p debug)
|
||||
ret_local=\${PIPESTATUS[0]}
|
||||
fi
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user