summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-01-24 19:31:12 +0000
committerErik Troan <ewt@redhat.com>2001-01-24 19:31:12 +0000
commit5072e79340af2848eb8e69bbde5273c9ba2d1250 (patch)
tree0ebf75d9999811e597ab4cf641aef7f396a1c76c /fstab.py
parent8112f74540180929c439d1f15bd155b063ead4eb (diff)
downloadanaconda-5072e79340af2848eb8e69bbde5273c9ba2d1250.tar.gz
anaconda-5072e79340af2848eb8e69bbde5273c9ba2d1250.tar.xz
anaconda-5072e79340af2848eb8e69bbde5273c9ba2d1250.zip
create mke2fs.log properly
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fstab.py b/fstab.py
index 11f09fa4c..fc582dd7b 100644
--- a/fstab.py
+++ b/fstab.py
@@ -1205,7 +1205,7 @@ def ext2FormatFilesystem(argList, messageFile, windowCreator, mntpoint):
w = windowCreator(_("Formatting"),
_("Formatting %s filesystem...") % (mntpoint,), 100)
- fd = os.open(messageFile, os.O_RDWR)
+ fd = os.open(messageFile, os.O_RDWR | os.O_CREAT | os.O_APPEND)
p = os.pipe()
childpid = os.fork()
if (not childpid):