summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/cygload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/cygload.c b/main/cygload.c
index 3b8951bd6..5945af4e4 100644
--- a/main/cygload.c
+++ b/main/cygload.c
@@ -17,4 +17,5 @@ int main(int argc, char *argv[])
if (ast_main)
return ast_main(argc, argv);
fprintf(stderr, "could not load asterisk, %s\n", dlerror());
+ return 1; /* there was an error */
}