summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-07-31 21:50:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-07-31 21:50:41 +0000
commit9226ab399f156f544c42d95e9d23c3c05f7c63de (patch)
tree53ab0ec52d5e350e83273e5e81b6c6faf8c2fc90
parentd688f4e0d25007769654e104560351996eb02a6d (diff)
downloadpfsense-9226ab399f156f544c42d95e9d23c3c05f7c63de.zip
pfsense-9226ab399f156f544c42d95e9d23c3c05f7c63de.tar.gz
Unlink files when restoring.
-rw-r--r--etc/phpshellsessions/cvssync2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index 3a4e6ab..fb3d913 100644
--- a/etc/phpshellsessions/cvssync
+++ b/etc/phpshellsessions/cvssync
@@ -89,7 +89,7 @@ if($branch == "RESTORE") {
exit();
}
echo "===> Restoring previous CVSSync backup... Please wait...\n";
- exec("tar xzPf /root/cvssync_backup.tgz -C /");
+ exec("tar Uxpf /root/cvssync_backup.tgz -C /");
post_cvssync_commands();
exit();
}
OpenPOWER on IntegriCloud