check that the user field is actually there

svn: r16264
This commit is contained in:
Eli Barzilay 2009-10-07 05:36:00 +00:00
parent e164607633
commit 99dba452fc

View File

@ -26,8 +26,8 @@
(unless (file-exists? users-file)
(log-line "WARNING: users file missing on startup: ~a" users-file))
(lambda (user)
(get-preference (string->symbol user) (lambda () #f) 'timestamp
users-file))))
(and user (get-preference (string->symbol user) (lambda () #f) 'timestamp
users-file)))))
(define (relativize-path p)
(path->string (find-relative-path (normalize-path server-dir) p)))