Skip to content

Commit

Permalink
main BUGFIX var name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed May 23, 2024
1 parent 7787686 commit a5e5722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ server_open_pidfile(const char *pidfile)
fl.l_type = F_WRLCK;
fl.l_whence = SEEK_SET;
fl.l_start = 0;
fl.l_start = 5;
fl.l_len = 5;
if (fcntl(pidfd, F_SETLK, &fl) < 0) {
close(pidfd);
if ((errno == EACCES) || (errno == EAGAIN)) {
Expand Down

0 comments on commit a5e5722

Please sign in to comment.