diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-07-31 21:50:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-07-31 21:50:41 +0000 |
commit | 9226ab399f156f544c42d95e9d23c3c05f7c63de (patch) | |
tree | 53ab0ec52d5e350e83273e5e81b6c6faf8c2fc90 /etc | |
parent | d688f4e0d25007769654e104560351996eb02a6d (diff) | |
download | pfsense-9226ab399f156f544c42d95e9d23c3c05f7c63de.zip pfsense-9226ab399f156f544c42d95e9d23c3c05f7c63de.tar.gz |
Unlink files when restoring.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/phpshellsessions/cvssync | 2 |
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(); } |