mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-09 23:41:24 +07:00
bullseye
This commit is contained in:
@ -25,7 +25,7 @@ apt_get_exit_code="0"
|
|||||||
## http://stackoverflow.com/a/26263980/2605155
|
## http://stackoverflow.com/a/26263980/2605155
|
||||||
## for the python way to create a pty.
|
## for the python way to create a pty.
|
||||||
|
|
||||||
python3.7 -c 'import pty, sys; pty.spawn(sys.argv[1:])' \
|
python3.9 -c 'import pty, sys; pty.spawn(sys.argv[1:])' \
|
||||||
| apt-get "$@" 2>&1 \
|
| apt-get "$@" 2>&1 \
|
||||||
| tee -a "$logfile" \
|
| tee -a "$logfile" \
|
||||||
|| { apt_get_exit_code="$?"; true; };
|
|| { apt_get_exit_code="$?"; true; };
|
||||||
|
Reference in New Issue
Block a user