aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmdrake.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 97b8c7f4..a1ecda76 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -145,7 +145,10 @@ sub to_utf8 {
wantarray() ? @_ : $_[0];
}
-sub myexit { ugtk2::exit(undef, @_) }
+sub myexit {
+ writeconf();
+ ugtk2::exit(undef, @_);
+}
$ENV{HOME} ||= '/root';