mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Set $g too
This commit is contained in:
parent
f48a37fd04
commit
945eca4e54
@ -150,7 +150,7 @@ function check_for_kernel_file() {
|
||||
}
|
||||
|
||||
function do_upgrade($path) {
|
||||
global $fp;
|
||||
global $fp, $g;
|
||||
touch($g['varrun_path'] . "/firmware.lock");
|
||||
check_for_kernel_file();
|
||||
echo "\nOne moment please... Invoking firmware upgrade...\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user