summaryrefslogtreecommitdiff
path: root/cmd/service/dumpscript.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/service/dumpscript.c')
-rw-r--r--cmd/service/dumpscript.c2
1 files changed, 1 insertions, 1 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;
}