aboutsummaryrefslogtreecommitdiffstats
path: root/src/openac/openac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/openac/openac.c')
-rwxr-xr-xsrc/openac/openac.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/openac/openac.c b/src/openac/openac.c
index 2c93487e8..cde6ba3be 100755
--- a/src/openac/openac.c
+++ b/src/openac/openac.c
@@ -293,7 +293,8 @@ int main(int argc, char **argv)
}
if (!optionsfrom(path, &argc, &argv, optind))
{
- exit(1);
+ status = 1;
+ goto end;
}
}
continue;
@@ -428,7 +429,8 @@ int main(int argc, char **argv)
else
{
DBG1(" integrity test failed");
- exit(3);
+ status = 3;
+ goto end;
}
#endif /* INTEGRITY_TEST */