mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix log file deletion
This commit is contained in:
parent
5eab2de4ec
commit
8d8b2fc7f9
@ -446,7 +446,8 @@ if ($confirmed && !$completed) {
|
||||
$upgrade_script = "/usr/local/sbin/{$g['product_name']}-upgrade -y -l {$logfilename}.txt -p {$g['tmp_path']}/{$g['product_name']}-upgrade.sock";
|
||||
|
||||
// Remove the log file before starting
|
||||
unlink_if_exists($logfilename);
|
||||
|
||||
unlink_if_exists($logfilename . ".txt");
|
||||
|
||||
switch ($pkgmode) {
|
||||
case 'delete':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user