Do not close STDIN until script is done processing.

This commit is contained in:
Scott Ullrich 2007-08-28 18:18:22 +00:00
parent 92d8801f46
commit 1939b5cee7

View File

@ -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);
?>