summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2016-12-25 07:26:44 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2016-12-25 07:26:44 +0300
commite864d50a03481ada90bbdc66f75f3f321c646c8b (patch)
treeddc038dd02fce321c5c6d392504777f69af15a15 /modules
parentnode.scm (node-server-running?): Fix the check (diff)
downloadguile-ssh-e864d50a03481ada90bbdc66f75f3f321c646c8b.tar.gz
shell.scm (pgrep): Fix misspelled pgrep option
* modules/ssh/shell.scm (pgrep): Fix misspelled pgrep option
Diffstat (limited to 'modules')
-rw-r--r--modules/ssh/shell.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ssh/shell.scm b/modules/ssh/shell.scm
index dfcbfcb..f3b9308 100644
--- a/modules/ssh/shell.scm
+++ b/modules/ssh/shell.scm
@@ -88,7 +88,7 @@ a check result and a return code."
"Check if a process with a PATTERN cmdline is available on a NODE.
Return two values: a check result and a return code."
(rexec session (format #f "pgrep ~a '~a'"
- (if full? "--f" "")
+ (if full? "-f" "")
pattern)))
(define* (pkill session pattern #:key (full? #f))