aboutsummaryrefslogtreecommitdiff
path: root/cmd/service
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/service')
-rw-r--r--cmd/service/dumpscript.c2
-rw-r--r--cmd/service/list.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/service/dumpscript.c b/cmd/service/dumpscript.c
index 880631f..eaff509 100644
--- a/cmd/service/dumpscript.c
+++ b/cmd/service/dumpscript.c
@@ -49,7 +49,7 @@ static service_t *try_load(const char *directory, const char *filename)
if (type != S_IFREG && type != S_IFLNK)
return NULL;
- svc = rdsvc(dirfd, filename);
+ svc = rdsvc(dirfd, filename, 0);
close(dirfd);
return svc;
}
diff --git a/cmd/service/list.c b/cmd/service/list.c
index b9e342a..ad4cf00 100644
--- a/cmd/service/list.c
+++ b/cmd/service/list.c
@@ -63,7 +63,7 @@ static int cmd_list(int argc, char **argv)
if (check_arguments(argv[0], argc, 1, 2))
return EXIT_FAILURE;
- if (svcscan(SVCDIR, &list)) {
+ if (svcscan(SVCDIR, &list, 0)) {
fprintf(stderr, "Error while reading services from %s\n",
SVCDIR);
ret = EXIT_FAILURE;