diff options
-rw-r--r-- | fsset.py | 4 | ||||
-rw-r--r-- | iutil.py | 4 | ||||
-rwxr-xr-x | iw/release_notes_viewer_gui.py | 2 | ||||
-rw-r--r-- | packages.py | 2 | ||||
-rw-r--r-- | partedUtils.py | 2 | ||||
-rw-r--r-- | rescue.py | 2 |
6 files changed, 8 insertions, 8 deletions
@@ -197,7 +197,7 @@ class FileSystemType: os.close(fd) os.execv(args[0], args) log("failed to exec %s", args) - sys.exit(1) + os._exit(1) os.close(p[1]) @@ -2374,7 +2374,7 @@ def ext2FormatFilesystem(argList, messageFile, windowCreator, mntpoint): os.close(fd) os.execv(argList[0], argList) log("failed to exec %s", argList) - sys.exit(1) + os._exit(1) os.close(p[1]) @@ -90,7 +90,7 @@ def execWithRedirect(command, argv, stdin = 0, stdout = 1, stderr = 2, # let the caller deal with the exit code of 1. pass - sys.exit(1) + os._exit(1) if newPgrp: os.setpgid(childpid, childpid) @@ -135,7 +135,7 @@ def execWithCapture(command, argv, searchPath = 0, root = '/', stdin = 0, else: os.execv(command, argv) - sys.exit(1) + os._exit(1) os.close(write) diff --git a/iw/release_notes_viewer_gui.py b/iw/release_notes_viewer_gui.py index 371ffc027..7c49e9cda 100755 --- a/iw/release_notes_viewer_gui.py +++ b/iw/release_notes_viewer_gui.py @@ -46,7 +46,7 @@ def loadReleaseNotes(fn): return buffer def relnotes_closed(widget, data): - sys.exit(0) + os._exit(0) def exposeCB(widget, event, data): diff --git a/packages.py b/packages.py index 5c0fd0c09..78bb914e6 100644 --- a/packages.py +++ b/packages.py @@ -1319,7 +1319,7 @@ def setFileCons(instPath, partitions): continue ret = isys.resetFileContext(f) log("set fc of %s to %s" %(f, ret)) - sys.exit(0) + os._exit(0) try: os.waitpid(child, 0) diff --git a/partedUtils.py b/partedUtils.py index 72527b2ee..6d2b7a147 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -741,7 +741,7 @@ class DiskSet: os.close(fd) os.execv(argList[0], argList) log("failed to exec %s", argList) - sys.exit(1) + os._exit(1) os.close(p[1]) @@ -62,7 +62,7 @@ def makeMtab(instPath, theFsset): f = open("/etc/mtab", "w+") f.write(theFsset.mtab()) f.close() - sys.exit(0) + os._exit(0) # make sure they have a resolv.conf in the chroot def makeResolvConf(instPath): |