forked from tTh/FloatImg
msg when export dir not writable
This commit is contained in:
parent
2147d4b164
commit
28453e862a
@ -43,6 +43,7 @@ foo = access(path, W_OK);
|
|||||||
fprintf(stderr, " access '%s' = %d\n", path, foo);
|
fprintf(stderr, " access '%s' = %d\n", path, foo);
|
||||||
#endif
|
#endif
|
||||||
if (0 != foo) {
|
if (0 != foo) {
|
||||||
|
if (verbosity) fprintf(stderr, "%s: can't write\n", path);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user