aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_unixize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_unixize.c')
-rw-r--r--src/c_unixize.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/c_unixize.c b/src/c_unixize.c
index c941102..880f0a4 100644
--- a/src/c_unixize.c
+++ b/src/c_unixize.c
@@ -70,7 +70,9 @@ main
int nargc;
char** nargv;
- c_get_opts(&opts, argc, argv);
+ if (c_get_opts(&opts, argc, argv) == FALSE) {
+ return (0);
+ }
if (chdir((const char*)opts.dir) == -1) {
u_dump_errno_path(opts.dir);
return (1);