summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-23 17:04:12 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-23 17:04:12 +0200
commit91f561a417f5edcc094d0ea82da8d6fe0de41013 (patch)
treef229a6f84dbb78152e2df7c26c06b2b7681667c9 /Userland
parentfd500c79d6c7d8e33571712d2773df612b2b5c2a (diff)
downloadserenity-91f561a417f5edcc094d0ea82da8d6fe0de41013.zip
touch: Newly created files were accidentally marked as FIFO's.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/touch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/touch.cpp b/Userland/touch.cpp
index 3d0dcb58bf..690e6d8671 100644
--- a/Userland/touch.cpp
+++ b/Userland/touch.cpp
@@ -33,7 +33,7 @@ int main(int argc, char** argv)
if (rc < 0)
perror("utime");
} else {
- int fd = open(argv[1], O_CREAT, 0010644);
+ int fd = open(argv[1], O_CREAT, 0100644);
if (fd < 0) {
perror("open");
return 1;