Changeset 25886 in project for release/4/awful/trunk/awful.scm


Ignore:
Timestamp:
02/10/12 14:15:20 (9 years ago)
Author:
Mario Domenech Goulart
Message:

awful: don't check `current-effective-user-id' on windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/awful/trunk/awful.scm

    r25825 r25886  
    219219  (let ((listener ((awful-listener))))
    220220    (switch-user/group (spiffy-user) (spiffy-group))
    221     (when (zero? (current-effective-user-id))
     221    (when (and (not (eq? (software-type) 'windows))
     222               (zero? (current-effective-user-id)))
    222223      (print "WARNING: awful is running with administrator privileges (not recommended)"))
    223224    ;; load apps
Note: See TracChangeset for help on using the changeset viewer.