summaryrefslogtreecommitdiffstats
path: root/python/t
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-03-30 13:34:16 +0100
committerRichard Jones <rjones@redhat.com>2010-03-30 13:36:06 +0100
commit641e8275b3b63b68c82ef80735bb55f9da05ef2c (patch)
treee227b9a0677faef09a93aeebd4fca2c06af38aa9 /python/t
parentf826ce4876135a8abb72383aa5a5681f045f5367 (diff)
downloadlibguestfs-641e8275b3b63b68c82ef80735bb55f9da05ef2c.tar.gz
libguestfs-641e8275b3b63b68c82ef80735bb55f9da05ef2c.tar.xz
libguestfs-641e8275b3b63b68c82ef80735bb55f9da05ef2c.zip
daemon: Set TERM=dumb inside the daemon.
Since commit 977edb3185fe8f we have been passing TERM from the library into the appliance (for the benefit of virt-rescue). However this changes the output of parted, which I would argue is a bug in parted: TERM=xterm /sbin/parted -m -- /dev/sda unit b print 2>&1 | hexdump -C 00000000 1b 5b 3f 31 30 33 34 68 42 59 54 3b 0a 2f 64 65 |.[?1034hBYT;./de| Notice the escape-sequence junk before the official "BYT;" header. By setting TERM=dumb we avoid this.
Diffstat (limited to 'python/t')
0 files changed, 0 insertions, 0 deletions