aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-18 10:19:01 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-18 10:19:01 +0200
commite40931701531ac3737853217e6c87d975d0ab713 (patch)
treea7bcaef199dce8f398461df3281167e4c44cf926 /scripts
parent275d9be99cd562ddb2377d9b18184f7eace79ab0 (diff)
downloadlinux-conf-perf-e40931701531ac3737853217e6c87d975d0ab713.tar.gz
linux-conf-perf-e40931701531ac3737853217e6c87d975d0ab713.tar.bz2
linux-conf-perf-e40931701531ac3737853217e6c87d975d0ab713.zip
Fix kernel temporally file removal
Temporally file generated in kernel script during configuration applying wasn't closed/remove after end of usage.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kernel.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kernel.py b/scripts/kernel.py
index c41fe1f..d989f8a 100644
--- a/scripts/kernel.py
+++ b/scripts/kernel.py
@@ -20,6 +20,7 @@ def config(txtconfig):
conf.kernel_config_output, env=utils.get_kernel_env())
except exceptions.ProcessFailed:
raise exceptions.ConfigurationError("some configs mismatch")
+ infile.close()
os.chdir(wd)
#def config_noprogram():