Set $g too

This commit is contained in:
Scott Ullrich 2009-05-04 22:52:51 -04:00
parent f48a37fd04
commit 945eca4e54

View File

@ -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";