]> granicus.if.org Git - sudo/commitdiff
Clear the ts dir instead of just making sure it exists.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 26 Feb 2015 16:21:18 +0000 (09:21 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 26 Feb 2015 16:21:18 +0000 (09:21 -0700)
sudo.pp

diff --git a/sudo.pp b/sudo.pp
index 435977e65ace6a22e46112f52a51808aa1ec3183..c4a810fa6f32951cfe07dfe220f94958611d755b 100644 (file)
--- a/sudo.pp
+++ b/sudo.pp
@@ -404,7 +404,7 @@ still allow people to get their work done."
        if [ -d /lib/systemd ]; then
                cat > /usr/lib/tmpfiles.d/sudo.conf <<-EOF
                d %{rundir} 0711 root root
-               d %{rundir}/ts 0700 root root
+               D %{rundir}/ts 0700 root root
                EOF
        fi