diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-30 04:13:36 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-30 04:13:36 +0000 |
commit | 83922edf2308ff24805a5452b979e82700d50a40 (patch) | |
tree | 6fd4dd084bcedb294dd2fe114d3cf11d03cdab30 /etc/phpshellsessions/cvssync | |
parent | 2ea9ba5bd71b8e02c2b33630dc47dd8a4dfd755a (diff) | |
download | pfsense-83922edf2308ff24805a5452b979e82700d50a40.zip pfsense-83922edf2308ff24805a5452b979e82700d50a40.tar.gz |
Check for no backup correctly
Diffstat (limited to 'etc/phpshellsessions/cvssync')
-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 175e015..ca81471 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -108,7 +108,7 @@ if($branch == "RESTORE" && $g['platform'] == "pfSense") { $nobackup = true; // do not backup embedded, livecd } -if(!$nobackup) { +if($nobackup == true) { echo "===> Backing up current pfSense information...\n"; echo "===> Please wait... "; exec("tar czPf /root/cvssync_backup.tgz --exclude /root --exclude /dev --exclude /tmp --exclude /var/run --exclude /var/empty /"); |