diff -urN tmp/usr/share/python-support/timekpr/timekpr.py /usr/share/python-support/timekpr/timekpr.py --- tmp/usr/share/python-support/timekpr/timekpr.py 2009-11-09 21:02:09.000000000 +0100 +++ /usr/share/python-support/timekpr/timekpr.py 2012-05-12 00:23:42.249734001 +0200 @@ -121,7 +121,7 @@ return False def getusers(): - u = getcmdoutput('users') + u = getcmdoutput('ps -e -o ruser') u = u.split() u = set(u) return list(u) @@ -204,7 +204,7 @@ for username in getusers(): conffile = VAR['TIMEKPRDIR'] + '/' + username # Check if user configfile exists and if user was not already notified - if not isnotified(username): + if isfile(conffile) and not isnotified(username): logkpr('configuration file for %s exists' % username) # Read lists: from, to and limit limits, bfrom, bto = readusersettings(username, conffile)