summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial.password
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-06-02 22:05:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-06-02 22:05:30 +0000
commit3121018425bc40fea6936f76048eae9fb62707aa (patch)
treebf8f240a64084def0b25efd76b7162763d217628 /etc/rc.initial.password
parented4b63b09785b89f5dcbd2517ff0bfd20632be85 (diff)
downloadpfsense-3121018425bc40fea6936f76048eae9fb62707aa.zip
pfsense-3121018425bc40fea6936f76048eae9fb62707aa.tar.gz
Close STDIN ($fp) handle before returning back to shell. Major doh's.
Diffstat (limited to 'etc/rc.initial.password')
-rwxr-xr-xetc/rc.initial.password5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.initial.password b/etc/rc.initial.password
index 6e7e6ce..9afc90b 100755
--- a/etc/rc.initial.password
+++ b/etc/rc.initial.password
@@ -66,6 +66,7 @@ EOD;
fgets($fp);
}
- sync_webgui_passwords();
-
+ sync_webgui_passwords();
+
+ fclose($fp);
?> \ No newline at end of file
OpenPOWER on IntegriCloud