[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[shepherd] 04/05: doc: Mention exit code of 'herd'.
From: |
Ludovic Courtès |
Subject: |
[shepherd] 04/05: doc: Mention exit code of 'herd'. |
Date: |
Wed, 20 Jan 2016 21:16:53 +0000 |
civodul pushed a commit to branch master
in repository shepherd.
commit ba58286c37767c097673347cbbfb20b3f0ab34be
Author: Ludovic Courtès <address@hidden>
Date: Wed Jan 20 21:26:10 2016 +0100
doc: Mention exit code of 'herd'.
* shepherd.texi (Invoking herd): Mention exit code.
---
shepherd.texi | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/shepherd.texi b/shepherd.texi
index 4628209..b980254 100644
--- a/shepherd.texi
+++ b/shepherd.texi
@@ -472,6 +472,12 @@ not specified, @address@hidden/run/shepherd/socket} is
taken.
@end table
+The @code{herd} command returns zero on success, and a non-zero exit
+code on failure. In particular, it returns a non-zero exit code when
address@hidden or @var{service} does not exist and when the given action
+failed.
+
+
@c @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@node Invoking reboot