fixes bug in CLI parsing, incorrect conditional in optional -c

This commit is contained in:
Joe Bryan 2019-02-11 23:44:38 -05:00
parent 4acef975ca
commit 0e15296aba

View File

@ -244,7 +244,7 @@ _main_getopt(c3_i argc, c3_c** argv)
//
if ( c3n == u3_Host.ops_u.nuu ) {
struct stat s;
if ( 0 == stat(u3_Host.dir_c, &s) ) {
if ( 0 != stat(u3_Host.dir_c, &s) ) {
u3_Host.ops_u.nuu = c3y;
}
}