From f6bc1884855d84599ee731f694e0073f1df73ce1 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Tue, 28 Feb 2017 15:22:54 +0100 Subject: [PATCH] comment --- usr/lib/security-misc/apt-get-wrapper | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr/lib/security-misc/apt-get-wrapper b/usr/lib/security-misc/apt-get-wrapper index 5c7150c..7aabcf2 100755 --- a/usr/lib/security-misc/apt-get-wrapper +++ b/usr/lib/security-misc/apt-get-wrapper @@ -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" \