mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Only deinstall filter reload item if it is presently installed
This commit is contained in:
parent
df3f9675d2
commit
e33e17d833
@ -107,11 +107,13 @@ function tdr_install_cron($should_install) {
|
||||
}
|
||||
break;
|
||||
case false:
|
||||
if($x > 0) {
|
||||
unset($config['cron']['item'][$x]);
|
||||
write_config();
|
||||
if($is_installed == true) {
|
||||
if($x > 0) {
|
||||
unset($config['cron']['item'][$x]);
|
||||
write_config();
|
||||
}
|
||||
configure_cron();
|
||||
}
|
||||
configure_cron();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user