]> git.marmaro.de Git - mmh/blobdiff - sbr/path.c
Use sysexits.h for better exit-codes
[mmh] / sbr / path.c
index 90d3a27387ab9373a97c19c35dcfb9133c8ed33e..f95a758fe35fae162c3c8ed0a8d2115614b8f8ff 100644 (file)
@@ -6,6 +6,7 @@
 ** complete copyright information.
 */
 
+#include <sysexits.h>
 #include <h/mh.h>
 #include <pwd.h>
 #include <unistd.h>
@@ -285,7 +286,7 @@ toabsdir(char *path)
                char *cp=buf, *pp;
 
                if (!(pp = context_find("path")) || !*pp) {
-                       adios(NULL, "Non-empty profile entry `Path' required");
+                       adios(EX_CONFIG, NULL, "Non-empty profile entry `Path' required");
                }
                if (*pp != '/') {
                        /* Path is relative to $HOME */