summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c
index 48da24e..31dba62 100644
--- a/release/sysinstall/config.c
+++ b/release/sysinstall/config.c
@@ -371,8 +371,10 @@ configSysconfig(char *config)
msgDebug("Writing %s out to debugging screen..\n", config);
fp = fdopen(DebugFD, "w");
}
- else
+ else {
+ (void)vsystem("cp %s %s.previous", config, config);
fp = fopen(config, "w");
+ }
for (i = 0; i < nlines; i++) {
static Boolean firstTime = TRUE;
OpenPOWER on IntegriCloud