mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
s/unlink/unlink_if_exists/
This commit is contained in:
parent
6bb99c3fe0
commit
218a4ffa50
@ -2788,8 +2788,8 @@ function upgrade_080_to_081() {
|
||||
mwexec("$rrdtool restore -f {$g['tmp_path']}/{$xmldumpnew} {$rrddbpath}/{$database} 2>&1");
|
||||
unset($xml);
|
||||
# Default /tmp tmpfs is ~40mb, do not leave temp files around
|
||||
unlink("{$g['tmp_path']}/{$xmldump}");
|
||||
unlink("{$g['tmp_path']}/{$xmldumpnew}");
|
||||
unlink_if_exists("{$g['tmp_path']}/{$xmldump}");
|
||||
unlink_if_exists("{$g['tmp_path']}/{$xmldumpnew}");
|
||||
}
|
||||
enable_rrd_graphing();
|
||||
/* Let's save the RRD graphs after we run enable RRD graphing */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user