touch: don't segfault when unable to touch
This commit is contained in:
parent
e6fd57b3e7
commit
fbb4ba506d
@ -22,6 +22,7 @@ int main(int argc, char * argv[]) {
|
||||
if (!f) {
|
||||
fprintf(stderr, "%s: %s: %s\n", argv[0], argv[i], strerror(errno));
|
||||
out = 1;
|
||||
continue;
|
||||
}
|
||||
fclose(f);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user