summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-06-21 13:59:08 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-21 14:03:13 +0100
commitaae76064886b73f5097b73db75ef0871b1d23a0f (patch)
tree2b0f380c6425180a1292254abd753568478fb53b
parentd6c7f690b7b65fc7d995dc3d739db355a4a6a2fd (diff)
downloadfingerchange-aae76064886b73f5097b73db75ef0871b1d23a0f.tar.xz
Clarify missing-site error
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rwxr-xr-xsrc/fingerchange.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fingerchange.py b/src/fingerchange.py
index 952822f..65a2691 100755
--- a/src/fingerchange.py
+++ b/src/fingerchange.py
@@ -119,7 +119,8 @@ def handle_client(reader, writer):
line = line.decode('utf-8').strip()
if '@' not in line:
- writer.write('Error: Username or site missing\n'.encode('utf-8'))
+ writer.write('finger: site missing\n'.encode('utf-8'))
+ writer.write('finger: expected \'user@site\'\n'.encode('utf-8'))
writer.close()
return