Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine detection of being in mock environment (#63)
umockdev-run itself sets $LD_PRELOAD, so this does not avoid the error message about nonexisting devices in uevent_sender_send(). Instead, check if /sys looks like a real file system directory, i. e. it is a mock, not the real sysfs.
- Loading branch information