summaryrefslogtreecommitdiffstats
path: root/pactest/tests/sync102.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-10-19 05:46:27 +0200
committerDan McGee <dan@archlinux.org>2008-10-19 06:59:28 +0200
commitd1fec15d8148dec186e437da912d6a03a8d26b11 (patch)
tree4ee2273a50efe4d83afe3a385644ef2acc688521 /pactest/tests/sync102.py
parentd24592cbcdff03d397a185946a15b170d0cd75c9 (diff)
downloadpacman-d1fec15d8148dec186e437da912d6a03a8d26b11.tar.gz
pacman-d1fec15d8148dec186e437da912d6a03a8d26b11.tar.xz
Correctly close the pipe used for scriptlet execution
We never had a call to pclose() in here before, leaving our file descriptor in some sort of limbo state. In addition, clean up some of the other logic such as directly calling exit(1) on a popen() failure rather than going to our cleanup block, and handling and respecting the exit status of the subprocess correctly. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/sync102.py')
0 files changed, 0 insertions, 0 deletions