diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/supervision/s6-supervise.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervision/s6-supervise.c b/src/supervision/s6-supervise.c index bd8f4f9..6feb7c4 100644 --- a/src/supervision/s6-supervise.c +++ b/src/supervision/s6-supervise.c @@ -311,7 +311,7 @@ static void trystart (void) { struct stat st ; int islocked ; - int lfd = open_write(SLCK) ; + int lfd = open_trunc(SLCK) ; if (lfd == -1) { settimeout(60) ; |
