mirror of
https://github.com/urbit/shrub.git
synced 2025-01-02 17:43:32 +03:00
fixes bug in CLI parsing, incorrect conditional in optional -c
This commit is contained in:
parent
4acef975ca
commit
0e15296aba
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user