Skip to content

Cannot obtain lock warning now isn't visible when daemonized. #9009

@gmaxwell

Description

@gmaxwell

$ ./bitcoind -daemon=1
Bitcoin server starting
$ ./bitcoind -daemon=1
Bitcoin server starting < ???
$ ./bitcoind -daemon=0
Error: Cannot obtain a lock on data directory /home/gmaxwell/.bitcoin. Bitcoin Core is probably already running.

I assume we're daemonizing early enough to eat the error output... maybe it would be possible to daemonize later? errors like the fact that it's not starting would be useful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions