update init.d to clean new state location /var/lib/sudo, prepare to upload
[debian/sudo] / debian / sudo-ldap.sudo.init
index f99fdaeab7388fb14b8594870de920aaf96ad1cc..530fd63cc24fa1a1909f0dbdc668ed0c30c319ef 100644 (file)
@@ -16,9 +16,9 @@ set -e
 case "$1" in
   start)
        # make sure privileges don't persist across reboots
-       if [ -d /var/run/sudo ]
+       if [ -d /var/lib/sudo ]
        then
-                find /var/run/sudo -exec touch -t 198501010000 '{}' \;
+                find /var/lib/sudo -exec touch -t 198501010000 '{}' \;
        fi
        ;;
   stop|reload|restart|force-reload)