diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/s6-rc/s6-rc-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s6-rc/s6-rc-init.c b/src/s6-rc/s6-rc-init.c index 75f80ef..3ea1a23 100644 --- a/src/s6-rc/s6-rc-init.c +++ b/src/s6-rc/s6-rc-init.c @@ -81,7 +81,7 @@ int main (int argc, char const *const *argv) byte_copy(lfn, llen, live) ; byte_copy(lfn + llen, 6, "/lock") ; - fdlock = open_write(lfn) ; + fdlock = open_trunc(lfn) ; if (fdlock < 0) { cleanup(live) ; |