diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-08 16:32:43 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-08 16:32:43 +0100 |
commit | f354d57ba87b5cefa7e27983ef8f375894e35a00 (patch) | |
tree | bd6ee287f9d59976f4cf790d3e059605293b18d5 | |
parent | ad90694ecf9aa04d500e0d2f63261783f0ab8d10 (diff) | |
download | gnunet-f354d57ba87b5cefa7e27983ef8f375894e35a00.tar.gz gnunet-f354d57ba87b5cefa7e27983ef8f375894e35a00.zip |
define exit code for not restarting via systemd (see #8030)
-rw-r--r-- | src/include/platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index baf6986ed..23bc76ef5 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -273,6 +273,10 @@ atoll (const char *nptr); | |||
273 | #define EXIT_NOTRUNNING 7 | 273 | #define EXIT_NOTRUNNING 7 |
274 | #endif | 274 | #endif |
275 | 275 | ||
276 | #ifndef EXIT_NO_RESTART 9 | ||
277 | #define EXIT_NO_RESTART 9 | ||
278 | #endif | ||
279 | |||
276 | /** | 280 | /** |
277 | * clang et al do not have such an attribute | 281 | * clang et al do not have such an attribute |
278 | */ | 282 | */ |