aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/shepherd/init.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/shepherd/init.scm b/config/shepherd/init.scm
index d7f31b1..c94b034 100644
--- a/config/shepherd/init.scm
+++ b/config/shepherd/init.scm
@@ -1,14 +1,14 @@
;; init.scm -- default shepherd configuration file.
-(use-modules ((ice-9 ftw) #:select (scandir)))
+(use-modules ((ice-9 ftw) #:select (scandir))
+ (srfi srfi-26))
;; Load all the files in the directory 'init.d' with a suffix '.scm'.
(for-each
(lambda (file)
(load (string-append "init.d/" file)))
(scandir (string-append (dirname (current-filename)) "/init.d")
- (lambda (file)
- (string-suffix? ".scm" file))))
+ (cut string-suffix? ".scm" <>)))
;; Services known to shepherd: