diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2012-04-18 10:02:07 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2012-04-18 10:02:07 -0700 |
commit | eda973a32552c916e7e7cce8877674106cbda0cb (patch) | |
tree | 8643a08c49eff816a6c186890644569c0f100b4b /launchd | |
parent | c781653f956043e0ee476d4e95e0ae93b27aff96 (diff) |
launchd: Fix the destination of moved-aside directories in privileged_startx
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'launchd')
-rwxr-xr-x | launchd/privileged_startx/10-tmpdirs.cpp | 2 |
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 |