diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-08-15 14:54:48 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-08-15 14:54:48 -0400 |
commit | dc3e6dea1d6ad25d9ae61c6d798acfd26c714f99 (patch) | |
tree | 2cdeaf89f7b1b6067eaf65aba94dd708ec987da6 | |
parent | 2940856dff54d6717e983226df644d35e5d93169 (diff) | |
download | pfsense-dc3e6dea1d6ad25d9ae61c6d798acfd26c714f99.zip pfsense-dc3e6dea1d6ad25d9ae61c6d798acfd26c714f99.tar.gz |
Unbreak An error occurred
-rw-r--r-- | usr/local/www/installer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/installer.php b/usr/local/www/installer.php index 4243d11..32124a4 100644 --- a/usr/local/www/installer.php +++ b/usr/local/www/installer.php @@ -250,9 +250,9 @@ function update_installer_status() { // Check for error and bail if we see one. if(stristr($status, "error")) { $error = true; - echo "\$('installerrunning').innerHTML='<img class=\"infoboxnpimg\" src=\"/themes/{$g['theme']}/images/icons/icon_exclam.gif\"> <font size=\"2\"><b>An error occurred. Aborting installation. <a href='installer.php'>Back</a> to webInstaller</a>; "; + echo "\$('installerrunning').innerHTML='<img class=\"infoboxnpimg\" src=\"/themes/{$g['theme']}/images/icons/icon_exclam.gif\"> <font size=\"2\"><b>An error occurred. Aborting installation. <a href=\"installer.php\">Back</a> to webInstaller'; "; echo "\$('progressbar').style.width='100%';\n"; - unlink("/tmp/install_complete"); + unlink_if_exists("/tmp/install_complete"); return; } $running_old = trim(file_get_contents("/tmp/installer_installer_running")); |