diff options
| author | Sebastian Heinlein <sebi@glatzor.de> | 2008-08-22 06:11:52 +0200 |
|---|---|---|
| committer | Sebastian Heinlein <sebi@glatzor.de> | 2008-08-22 06:11:52 +0200 |
| commit | a39a102e437702e7cd1c3f314e507d6b0d466eb5 (patch) | |
| tree | 731b7f691decfc413f38b97d46c0e2b53bd35ab4 /apt/progress.py | |
| parent | 5ea022079850f3d7ab2411cf3f150435f140fdfe (diff) | |
| download | python-apt-a39a102e437702e7cd1c3f314e507d6b0d466eb5.tar.gz | |
Fix: os._exit does not send the exit status the main process
Diffstat (limited to 'apt/progress.py')
| -rw-r--r-- | apt/progress.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt/progress.py b/apt/progress.py index 87ccb03b..2ef100a8 100644 --- a/apt/progress.py +++ b/apt/progress.py @@ -214,7 +214,7 @@ class InstallProgress(DumbInstallProgress): if pid == 0: # child res = pm.DoInstall(self.writefd) - os._exit(res) + os.exit(res) self.child_pid = pid res = self.waitChild() return res @@ -249,7 +249,7 @@ class DpkgInstallProgress(InstallProgress): # child res = os.system("/usr/bin/dpkg --status-fd %s -i %s" % \ (self.writefd, self.debfile)) - os._exit(res) + os.exit(res) self.child_pid = pid res = self.waitChild() return res |
