summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-07-02 14:10:16 +0000
committerErmal Luçi <eri@pfsense.org>2009-07-02 14:10:16 +0000
commit56c0c91fb00e7cc063a783edd1ff3641d0310bd1 (patch)
tree549dcc67d47824f8f2f2ec9205775cb40519850f /etc/sshd
parentd3d9b0ee0ec9bf2c7468990c88a9149f6efc8b0b (diff)
downloadpfsense-56c0c91fb00e7cc063a783edd1ff3641d0310bd1.zip
pfsense-56c0c91fb00e7cc063a783edd1ff3641d0310bd1.tar.gz
Fix check for file.
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sshd b/etc/sshd
index 5904530..1c2aabb 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -69,7 +69,7 @@
mkdir("/var/empty", 0555);
}
- if(!file_exists("")) {
+ if(!file_exists("/var/log/lastlog")) {
/* Login related files. */
touch("/var/log/lastlog");
}
OpenPOWER on IntegriCloud