mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Unbreak
This commit is contained in:
parent
e3ddf3858d
commit
d2fdbd6f51
@ -99,12 +99,11 @@ switch ($command) {
|
||||
if(file_exists("/root/firmware.tgz")) {
|
||||
do_upgrade("/root/firmware.tgz", $type);
|
||||
exit;
|
||||
} else {
|
||||
echo "\nCould not download update.\n\n";
|
||||
fclose($fp);
|
||||
die -1;
|
||||
}
|
||||
} else {
|
||||
echo "\nCould not download update.\n\n";
|
||||
fclose($fp);
|
||||
die -1;
|
||||
}
|
||||
case "2":
|
||||
echo "\nEnter the complete path to the .tgz update file: ";
|
||||
$path = chop(fgets($fp));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user