mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not close STDIN until script is done processing.
This commit is contained in:
parent
92d8801f46
commit
1939b5cee7
@ -104,8 +104,6 @@ switch ($command) {
|
||||
}
|
||||
}
|
||||
|
||||
fclose($fp);
|
||||
|
||||
function check_for_kernel_file() {
|
||||
if(!file_exists("/boot/kernel/pfsense_kernel.txt")) {
|
||||
echo "\nPlease select which kernel you would like to use:\n";
|
||||
@ -140,4 +138,6 @@ function do_upgrade($path) {
|
||||
unlink_if_exists($path);
|
||||
}
|
||||
|
||||
fclose($fp);
|
||||
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user