summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2016-12-25 07:14:32 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2016-12-25 07:14:32 +0300
commite1a1cd624d7d678251488873c2b3f1a7be1fef6e (patch)
treea1510b320dc1b7aa60aacd2f9ace09b5a0b45479 /modules
parentshell.scm (pgrep, pkill): Use '-f' instead of '--full' (diff)
downloadguile-ssh-e1a1cd624d7d678251488873c2b3f1a7be1fef6e.tar.gz
node.scm (node-server-running?): Fix the check
* modules/ssh/dist/node.scm (node-server-running?) <guile-up-and-running?>: Fix the check.
Diffstat (limited to 'modules')
-rw-r--r--modules/ssh/dist/node.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ssh/dist/node.scm b/modules/ssh/dist/node.scm
index af7fb71..7562902 100644
--- a/modules/ssh/dist/node.scm
+++ b/modules/ssh/dist/node.scm
@@ -268,8 +268,8 @@ listens on an expected port, return #f otherwise."
(and (channel-open? rp)
(let ((line (read-line rp)))
(close rp)
- (and (not (eof-object? line)))
- (string-match "^GNU Guile .*" line)))))
+ (and (not (eof-object? line))
+ (string-match "^GNU Guile .*" line))))))
(let ((pgrep? (pgrep-available?)))
(unless pgrep?