summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chess-engine.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-engine.el b/chess-engine.el
index be4aa64..f3c2f30 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -301,8 +301,8 @@
(or response-handler 'chess-engine-default-handler))
(let ((proc chess-engine-process))
(when (and proc (processp proc))
- (unless (memq (process-status proc) '(run open))
- (chess-error 'failed-engine-start))
+ (unless (memq (process-status proc) '(run open listen))
+ (chess-error 'failed-start))
(unless (process-filter proc)
(set-process-filter proc 'chess-engine-filter)))
(setq chess-engine-current-marker (point-marker))