summaryrefslogtreecommitdiff
path: root/plugins/server/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-29 15:29:34 +0300
committerGitHub <[email protected]>2021-01-29 15:29:34 +0300
commit5a012646aa34250e76f99f39f405a2a4a1aa15c3 (patch)
tree430c136926a6ea7cde0198627f4e3158d14038a5 /plugins/server/plugin.go
parent5d30b79bb3496871ad01a4b47f92683b4188075b (diff)
Update comment
Diffstat (limited to 'plugins/server/plugin.go')
-rw-r--r--plugins/server/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/server/plugin.go b/plugins/server/plugin.go
index 0f1e8615..4fad82d1 100644
--- a/plugins/server/plugin.go
+++ b/plugins/server/plugin.go
@@ -85,7 +85,7 @@ func (server *Plugin) CmdFactory(env Env) (func() *exec.Cmd, error) {
// create command according to the config
cmdArgs = append(cmdArgs, strings.Split(server.cfg.Server.Command, " ")...)
if len(cmdArgs) < 2 {
- return nil, errors.E(op, errors.Str("minimum command should be `php <script>"))
+ return nil, errors.E(op, errors.Str("minimum command should be `<executable> <script>"))
}
_, err := os.Stat(cmdArgs[1])