summaryrefslogtreecommitdiff
path: root/launchd/privileged_startx/10-tmpdirs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launchd/privileged_startx/10-tmpdirs.cpp')
-rwxr-xr-xlaunchd/privileged_startx/10-tmpdirs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launchd/privileged_startx/10-tmpdirs.cpp b/launchd/privileged_startx/10-tmpdirs.cpp
index f48033d..7786426 100755
--- a/launchd/privileged_startx/10-tmpdirs.cpp
+++ b/launchd/privileged_startx/10-tmpdirs.cpp
@@ -46,7 +46,7 @@ for dir in /tmp/.ICE-unix /tmp/.X11-unix /tmp/.font-unix ; do
success=1
break
else
- saved=$(${MKTEMP} -d /tmp/${dir}-XXXXXXXX)
+ saved=$(${MKTEMP} -d ${dir}-XXXXXXXX)
mv ${dir} ${saved}
echo "${dir} exists but is insecure. It has been moved into ${saved}"
fi