mirror of
https://github.com/urbit/shrub.git
synced 2024-12-17 23:32:56 +03:00
Merge remote-tracking branch 'juped/pier-exists-check' into test
This commit is contained in:
commit
567f6d067f
@ -322,6 +322,14 @@ main(c3_i argc,
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ( c3y == u3_Host.ops_u.nuu ) {
|
||||
struct stat s;
|
||||
if ( !stat(u3_Host.dir_c, &s) ) {
|
||||
fprintf(stderr, "used -c but %s already exists\n", u3_Host.dir_c);
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
u3_ve_sysopt();
|
||||
|
||||
printf("~\n");
|
||||
|
Loading…
Reference in New Issue
Block a user