Fix broken startup procedure SERVER if called with no args.
This commit is contained in:
parent
f0ca612665
commit
306d104c5b
|
@ -129,7 +129,7 @@ exec scsh -lel SSAX-4.9/load.scm -lel sunet-2.1/load.scm -dm -o surflet-server -
|
||||||
(define (server . args)
|
(define (server . args)
|
||||||
(if (pair? args)
|
(if (pair? args)
|
||||||
(main `(main ,@(car args)))
|
(main `(main ,@(car args)))
|
||||||
(main '(main))))
|
(main (list (cwd)))))
|
||||||
|
|
||||||
(define (become-nobody-if-root)
|
(define (become-nobody-if-root)
|
||||||
(cond ((zero? (user-uid))
|
(cond ((zero? (user-uid))
|
||||||
|
|
Loading…
Reference in New Issue