summaryrefslogtreecommitdiff
path: root/cmd/tunneld
diff options
context:
space:
mode:
authorMikhail Osipov <mike.osipov@gmail.com>2021-03-08 02:25:01 +0300
committerMikhail Osipov <mike.osipov@gmail.com>2021-03-08 02:25:01 +0300
commita6e6d848d6f719710a43ca015027bd93befb721d (patch)
tree8cd94dfb8f466ca9403072c76883d95b41fbe0ef /cmd/tunneld
parent95ae97eb7eaa268a06bc2b90184eaed6342b3142 (diff)
add cmd, hook, socket help
Diffstat (limited to 'cmd/tunneld')
-rw-r--r--cmd/tunneld/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/tunneld/main.go b/cmd/tunneld/main.go
index 8ae1e4e..c808aab 100644
--- a/cmd/tunneld/main.go
+++ b/cmd/tunneld/main.go
@@ -163,7 +163,7 @@ func (p *parser) read(fp *os.File) error {
}
if len(args) > 0 {
- fmt.Errorf("%s:%d: uncomplete command", fp.Name(), line)
+ return fmt.Errorf("%s:%d: unexpected end of file", fp.Name(), line)
}
return nil