summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fsset.py4
-rw-r--r--iutil.py4
-rwxr-xr-xiw/release_notes_viewer_gui.py2
-rw-r--r--packages.py2
-rw-r--r--partedUtils.py2
-rw-r--r--rescue.py2
6 files changed, 8 insertions, 8 deletions
diff --git a/fsset.py b/fsset.py
index 1fb8ffe8d..fea8a0462 100644
--- a/fsset.py
+++ b/fsset.py
@@ -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])
diff --git a/iutil.py b/iutil.py
index 776e4b842..b3661429b 100644
--- a/iutil.py
+++ b/iutil.py
@@ -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])
diff --git a/rescue.py b/rescue.py
index c4ac197f4..3915cdf9b 100644
--- a/rescue.py
+++ b/rescue.py
@@ -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):