diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-05-28 19:05:41 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-05-28 19:05:41 -0300 |
commit | 20c3a2de73a7b7b14db90e0f40fd7075a37c6a1c (patch) | |
tree | 9384956470c197210167bd0e366107554657fa37 /config/autoconfigbackup/autoconfigbackup.xml | |
parent | b86d79164acc6a0f45f187b901512255e8b21d9d (diff) | |
download | pfsense-packages-20c3a2de73a7b7b14db90e0f40fd7075a37c6a1c.tar.gz pfsense-packages-20c3a2de73a7b7b14db90e0f40fd7075a37c6a1c.tar.bz2 pfsense-packages-20c3a2de73a7b7b14db90e0f40fd7075a37c6a1c.zip |
Simplify logic
Diffstat (limited to 'config/autoconfigbackup/autoconfigbackup.xml')
-rw-r--r-- | config/autoconfigbackup/autoconfigbackup.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.xml b/config/autoconfigbackup/autoconfigbackup.xml index d712d11b..b0514e6a 100644 --- a/config/autoconfigbackup/autoconfigbackup.xml +++ b/config/autoconfigbackup/autoconfigbackup.xml @@ -145,7 +145,7 @@ <custom_php_resync_config_command> <![CDATA[ conf_mount_rw(); - file_put_contents("/cf/conf/lastpfSbackup.txt", ""); + @unlink("/cf/conf/lastpfSbackup.txt"); conf_mount_ro(); if(!function_exists("filter_configure")) require_once("filter.inc"); |