diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-05-12 13:17:46 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-05-12 13:17:46 -0700 |
commit | e0e89545db1fc08ffe49b2b24455bb30137da671 (patch) | |
tree | 0148ca504d97772d9b926fd6b243b8982343e4c5 /privileged_startx/10-tmpdirs.cpp | |
parent | 85561f8347b33422dd4b0ea11911347c0666e409 (diff) |
Apple: Don't need to spew unneccessary 'directory exists' messages.
Diffstat (limited to 'privileged_startx/10-tmpdirs.cpp')
-rwxr-xr-x | privileged_startx/10-tmpdirs.cpp | 2 |
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 |