diff options
Diffstat (limited to 'src/openac/openac.c')
-rwxr-xr-x | src/openac/openac.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/openac/openac.c b/src/openac/openac.c index 0ac9f148f..2c93487e8 100755 --- a/src/openac/openac.c +++ b/src/openac/openac.c @@ -291,8 +291,10 @@ int main(int argc, char **argv) { snprintf(path, BUF_LEN, "%s/%s", OPENAC_PATH, optarg); } - optionsfrom(path, &argc, &argv, optind, stderr); - /* does not return on error */ + if (!optionsfrom(path, &argc, &argv, optind)) + { + exit(1); + } } continue; |