summaryrefslogtreecommitdiff
path: root/src/libs6rc/s6rc_servicedir_manage.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-09-11 17:04:18 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-09-11 17:04:18 +0000
commit716dde0b12532bb814c3cc8fedd99b8d16b3cf07 (patch)
tree3f18f3a2e9e8c0527130645c66cbd5ad02a4260b /src/libs6rc/s6rc_servicedir_manage.c
parent7df8376ba885bb87e4e84a8489bdf0f97accf4cf (diff)
downloads6-rc-716dde0b12532bb814c3cc8fedd99b8d16b3cf07.tar.xz
s6-rc-update doc, bugfix
Diffstat (limited to 'src/libs6rc/s6rc_servicedir_manage.c')
-rw-r--r--src/libs6rc/s6rc_servicedir_manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6rc/s6rc_servicedir_manage.c b/src/libs6rc/s6rc_servicedir_manage.c
index bad4f4b..e06d7a4 100644
--- a/src/libs6rc/s6rc_servicedir_manage.c
+++ b/src/libs6rc/s6rc_servicedir_manage.c
@@ -22,7 +22,7 @@ int s6rc_servicedir_manage (char const *live, tain_t const *deadline, tain_t *st
gid_t gid = getgid() ;
unsigned int livelen = str_len(live) ;
int ok = 1 ;
- int e ;
+ int e = 0 ;
DIR *dir ;
char dirfn[livelen + 13] ;
if (!ftrigr_startf(&a, deadline, stamp)) return 0 ;