about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-15 22:03:01 -0400
committerJune McEnroe <june@causal.agency>2020-08-15 22:03:01 -0400
commit1eb6eb6d37a912d1dfd4c488655c39fde5fbc34d (patch)
treec46655fa37298c7ba092a64cd000ad2255868ca0
parentAvoid "control named pipe" phrase (diff)
downloadcatsit-1eb6eb6d37a912d1dfd4c488655c39fde5fbc34d.tar.gz
catsit-1eb6eb6d37a912d1dfd4c488655c39fde5fbc34d.zip
Remove EX_CONFIG from default stopexits
I've used it for "remote" configuration which could change.
-rw-r--r--catsitd.83
-rw-r--r--daemon.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/catsitd.8 b/catsitd.8
index efaa21a..abedb13 100644
--- a/catsitd.8
+++ b/catsitd.8
@@ -119,8 +119,7 @@ The default list contains the values of
 .Dv EX_DATAERR ,
 .Dv EX_NOINPUT ,
 .Dv EX_OSFILE ,
-.Dv EX_CANTCREAT ,
-.Dv EX_CONFIG
+.Dv EX_CANTCREAT
 defined in
 .Xr sysexits 3 .
 The exit status 127
diff --git a/daemon.c b/daemon.c
index 86d69f0..426262e 100644
--- a/daemon.c
+++ b/daemon.c
@@ -200,7 +200,6 @@ int main(int argc, char *argv[]) {
 	setAdd(&stopExits, EX_NOINPUT);
 	setAdd(&stopExits, EX_OSFILE);
 	setAdd(&stopExits, EX_CANTCREAT);
-	setAdd(&stopExits, EX_CONFIG);
 
 	const char *pidPath = NULL;
 	const char *configPath = ETCDIR "/catsit.conf";