diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-08-09 00:21:58 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-08-09 00:21:58 +0000 |
commit | e212156b1c5e700a4144821690a57b904c88780c (patch) | |
tree | 5740a1e70d5037185592e41f7d7624b742003577 /etc | |
parent | a0a0c5453243fea4840fde55e0bcbb36bbc1468c (diff) | |
download | pfsense-e212156b1c5e700a4144821690a57b904c88780c.zip pfsense-e212156b1c5e700a4144821690a57b904c88780c.tar.gz |
Don't move file when doing a restore, simply copy it.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index e07c009..5d09d49 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -279,7 +279,7 @@ function discover_last_backup() { function restore_backup($file) { if(file_exists($file)) { conf_mount_rw(); - system("mv $file /cf/conf/config.xml"); + system("cp $file /cf/conf/config.xml"); } } |