mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-22 10:10:36 -04:00
comment
This commit is contained in:
parent
18e23af784
commit
f6bc188485
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@ trap "cleanup" EXIT
|
|||
|
||||
apt_get_exit_code="0"
|
||||
|
||||
## Thanks to:
|
||||
## dmw
|
||||
## http://stackoverflow.com/a/26263980/2605155
|
||||
## for the python way to create a pty.
|
||||
|
||||
python -c 'import pty, sys; pty.spawn(sys.argv[1:])' \
|
||||
| apt-get "$@" 2>&1 \
|
||||
| tee -a "$logfile" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue