1
0
Fork 0
mirror of https://github.com/tuxedocomputers/tuxedo-touchpad-switch.git synced 2025-01-18 11:41:10 +01:00

Merge branch 'master' of gitlab.com:tuxedocomputers/development/tuxedo-touchpad-switch

This commit is contained in:
Werner Sembach 2021-05-20 14:31:20 +02:00
commit 63df613a84
2 changed files with 10 additions and 0 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
tuxedo-touchpad-switch (1.0.1) focal; urgency=medium
* Fix process not closing on logout
-- Werner Sembach <tux@tuxedocomputers.com> Mon, 08 Feb 2021 12:01:42 +0100
tuxedo-touchpad-switch (1.0.0) focal; urgency=medium
* Update ReadMe.md

View file

@ -79,6 +79,10 @@ int main() {
cerr << "main(...): sigaction(...) failed." << endl;
gracefull_exit(-EXIT_FAILURE);
}
if (sigaction(SIGHUP, &sigaction_gracefull_exit, nullptr)) {
cerr << "main(...): sigaction(...) failed." << endl;
gracefull_exit(-EXIT_FAILURE);
}
lockfile = open("/etc/tuxedo-touchpad-switch-lockfile", O_RDONLY);
if (lockfile == -1) {