check that the user field is actually there
svn: r16264
This commit is contained in:
parent
e164607633
commit
99dba452fc
|
@ -26,8 +26,8 @@
|
||||||
(unless (file-exists? users-file)
|
(unless (file-exists? users-file)
|
||||||
(log-line "WARNING: users file missing on startup: ~a" users-file))
|
(log-line "WARNING: users file missing on startup: ~a" users-file))
|
||||||
(lambda (user)
|
(lambda (user)
|
||||||
(get-preference (string->symbol user) (lambda () #f) 'timestamp
|
(and user (get-preference (string->symbol user) (lambda () #f) 'timestamp
|
||||||
users-file))))
|
users-file)))))
|
||||||
|
|
||||||
(define (relativize-path p)
|
(define (relativize-path p)
|
||||||
(path->string (find-relative-path (normalize-path server-dir) p)))
|
(path->string (find-relative-path (normalize-path server-dir) p)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user