Files
ubicloud/rhizome/common/bin/daemonizer
Enes Cakir 42def1180a Fix flock flag combine operator in daemonizer
`File::LOCK_EX` is the option for an exclusive lock, and `File::LOCK_NB`
is for non-blocking mode. The `||` operator should actually be a bitwise
OR operator `|` to combine these flags correctly.

    clover-development(main)> File::LOCK_EX
    => 2
    clover-development(main)> File::LOCK_EX || File::LOCK_NB
    => 2
    clover-development(main)> File::LOCK_EX | File::LOCK_NB
    => 6
2024-02-02 13:16:09 +03:00

1.6 KiB
Executable File