diff options
-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 ) |