aboutsummaryrefslogtreecommitdiffstats
path: root/src/repo/s6-rc-repo-sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/repo/s6-rc-repo-sync.c')
-rw-r--r--src/repo/s6-rc-repo-sync.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/repo/s6-rc-repo-sync.c b/src/repo/s6-rc-repo-sync.c
index 282f181..ba57d49 100644
--- a/src/repo/s6-rc-repo-sync.c
+++ b/src/repo/s6-rc-repo-sync.c
@@ -2,9 +2,8 @@
#include <unistd.h>
-#include <skalibs/gol.h>
-#include <skalibs/prog.h>
-#include <skalibs/strerr.h>
+#include <skalibs/envexec.h>
+#include <skalibs/tai.h>
#include <s6-rc/config.h>
#include <s6-rc/s6rc.h>
@@ -42,6 +41,7 @@ int main (int argc, char const *const *argv)
if (wgola[GOLA_VERBOSITY] && !uint0_scan(wgola[GOLA_VERBOSITY], &verbosity))
strerr_dief1x(100, "verbosity needs to be an unsigned integer") ;
+ tain_now_g() ;
fdlock = s6rc_repo_lock(wgola[GOLA_REPODIR], 1) ;
if (fdlock == -1) strerr_diefu2sys(111, "lock ", wgola[GOLA_REPODIR]) ;