1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

touch: Newly created files were accidentally marked as FIFO's.

This commit is contained in:
Andreas Kling 2019-04-23 17:04:12 +02:00
parent fd500c79d6
commit 91f561a417

View file

@ -33,7 +33,7 @@ int main(int argc, char** argv)
if (rc < 0) if (rc < 0)
perror("utime"); perror("utime");
} else { } else {
int fd = open(argv[1], O_CREAT, 0010644); int fd = open(argv[1], O_CREAT, 0100644);
if (fd < 0) { if (fd < 0) {
perror("open"); perror("open");
return 1; return 1;