summaryrefslogtreecommitdiff
path: root/privileged_startx
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-05-12 13:17:46 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-05-12 13:17:46 -0700
commite0e89545db1fc08ffe49b2b24455bb30137da671 (patch)
tree0148ca504d97772d9b926fd6b243b8982343e4c5 /privileged_startx
parent85561f8347b33422dd4b0ea11911347c0666e409 (diff)
Apple: Don't need to spew unneccessary 'directory exists' messages.
Diffstat (limited to 'privileged_startx')
-rwxr-xr-xprivileged_startx/10-tmpdirs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/privileged_startx/10-tmpdirs.cpp b/privileged_startx/10-tmpdirs.cpp
index dd5071c..e30abac 100755
--- a/privileged_startx/10-tmpdirs.cpp
+++ b/privileged_startx/10-tmpdirs.cpp
@@ -30,7 +30,7 @@ XCOMM Make sure these are owned by root
for dir in /tmp/.ICE-unix /tmp/.X11-unix /tmp/.font-unix ; do
# Use mktemp rather than mkdir to avoid possible security issue
# if $dir exists and is a symlink
- if mktemp -d ${dir} > /dev/null ; then
+ if mktemp -d ${dir} >& /dev/null ; then
chmod 1777 $dir
chown root:wheel $dir
fi