diff options
author | Simon Rettberg | 2024-03-01 16:57:41 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-03-01 16:57:41 +0100 |
commit | d8bda21b8fb25d0e98bd647451881ebf59ada6c7 (patch) | |
tree | 6a14c9582ed519696a8a1a851a6ac8a8adfa9480 /src | |
parent | Improve idle time tracking wrt xscreensaver activity (diff) | |
download | idle-daemon-master.tar.gz idle-daemon-master.tar.xz idle-daemon-master.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ void killSession( const struct user * user ) // Async do NOT use return from here on if ( user->sessionName[0] != '\0' ) { printf( "Terminating session %s of %s.\n", user->sessionName, user->user ); - run( true, "loginctl", "terminate-session", user->sessionName ); + run( true, "loginctl", "terminate-session", user->sessionName, (char*)NULL ); sleep( 2 ); if ( kill( user->sessionLeader, SIGTERM ) == -1 || user->sessionHead == 0 || kill( user->sessionHead, 0 ) == -1 ) |