summaryrefslogtreecommitdiff
path: root/cmd/tunneld/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/tunneld/main.go')
-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