diff options
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 2da3546..05ec369 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -224,7 +224,7 @@ function encrypted_configxml() { echo "\nEnter the password to decrypt config.xml: "; $decrypt_password = chop(fgets($fp)); $data = decrypt_data($configtxt, $decrypt_password); - if(!strstr($data, "pfsense")) + if(!strstr($data, "<pfsense>")) $data = ""; if($data) { $fd = fopen($g['conf_path'] . "/config.xml", "w"); |