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:
parent
fd500c79d6
commit
91f561a417
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue