aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--rpmdrake.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index fbc07819..3c1cef03 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- when using --env:
+ o do not write chrooted .rpmdrake config file on exit
o open the chrooted .rpmdrake config file
- rpmdrake:
o enable to set 'noclean' option (#13522)
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 4634e850..aa35c6d1 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -189,6 +189,7 @@ sub readconf() {
}
sub writeconf() {
+ return if $::env;
unlink $configfile;
# special case: