diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-09 21:55:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-09 21:55:41 +0000 |
commit | 0afcd529eab3bbecb665cd614ed1805196e3b403 (patch) | |
tree | 5585de7c7a3426eeb0ee8d267d5dfdfab52228d7 /etc/sshd | |
parent | ee096757bb941ccf652d415ff251966ef1dd06fc (diff) | |
download | pfsense-0afcd529eab3bbecb665cd614ed1805196e3b403.zip pfsense-0afcd529eab3bbecb665cd614ed1805196e3b403.tar.gz |
Operating on argv[0] and [1]
Diffstat (limited to 'etc/sshd')
-rwxr-xr-x | etc/sshd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ $stderr = fopen("php://stderr", "w"); - if($argv[0] == "stop") { + if($argv[1] == "stop" || $argv[0] == "stop") { if(file_exists("/root/.authorized_keys")) { $ak = return_filename_as_string("/root/.authorized_keys"); $ak = base64_encode($ak); |