diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-28 19:40:20 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-28 19:40:20 +0100 |
commit | cb03154e8b9b7c7e99bd64a4853d3be6e3d309d4 (patch) | |
tree | ed8648aaed532a3ad72777d500e5dfba12bbeef3 /src | |
parent | 7623687e5146810582a2c6b3d0d948f405bbeda8 (diff) | |
download | sync-cb03154e8b9b7c7e99bd64a4853d3be6e3d309d4.tar.gz sync-cb03154e8b9b7c7e99bd64a4853d3be6e3d309d4.tar.bz2 sync-cb03154e8b9b7c7e99bd64a4853d3be6e3d309d4.zip |
fix #8030
Diffstat (limited to 'src')
-rw-r--r-- | src/include/platform.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index df9196e..cfc42eb 100644 --- a/src/include/platform.h +++ b/src/include/platform.h @@ -243,22 +243,42 @@ atoll (const char *nptr); /* LSB-style exit status codes */ #ifndef EXIT_INVALIDARGUMENT +/** + * Command-line arguments are invalid. + * Restarting useless. + */ #define EXIT_INVALIDARGUMENT 2 #endif #ifndef EXIT_NOTIMPLEMENTED +/** + * The requested operation is not implemented. + * Restarting useless. + */ #define EXIT_NOTIMPLEMENTED 3 #endif #ifndef EXIT_NOPERMISSION +/** + * Permissions needed to run are not available. + * Restarting useless. + */ #define EXIT_NOPERMISSION 4 #endif #ifndef EXIT_NOTINSTALLED +/** + * Key resources are not installed. + * Restarting useless. + */ #define EXIT_NOTINSTALLED 5 #endif #ifndef EXIT_NOTCONFIGURED +/** + * Key configuration settings are missing or invalid. + * Restarting useless. + */ #define EXIT_NOTCONFIGURED 6 #endif @@ -267,6 +287,15 @@ atoll (const char *nptr); #endif +#ifndef EXIT_NO_RESTART +/** + * Exit code from 'main' if we do not want to be restarted, + * except by manual intervention (hard failure). + */ +#define EXIT_NO_RESTART 9 +#endif + + /* Ignore MHD deprecations for now as we want to be compatible to "ancient" MHD releases. */ #define MHD_NO_DEPRECATION 1 |