xyb3rt / physlock

Lightweight linux console locking tool
GNU General Public License v2.0
303 stars 36 forks source link

Fix for systemd mechanism never used #84

Closed laszloth closed 4 years ago

laszloth commented 4 years ago

HAVE_SYSTEMD is used in the Makefile only, so get_user_systemd() always returns -1.

Signed-off-by: Laszlo Toth laszlth@gmail.com

xyb3rt commented 4 years ago

Thanks for reporting and providing a fix for this. I've committed a simpler fix for this that does not rely on GNU make additions.