smheidrich / kitphysikpool-logout

logs you out of all other shared KIT physics department computers ("Poolraum-PCs")
0 stars 0 forks source link

Script doesn't work with usernames that are substrings of other usernames #5

Closed smheidrich closed 8 years ago

smheidrich commented 8 years ago

E.g. if only user123 is logged in on a remote host and user1 runs the script, it will try to logout because we use a simple grep to check for logins.

smheidrich commented 8 years ago

Should be fixed in https://github.com/smheidrich/kitphysikpool-logout/commit/5223d12b932f729c7bf4a40c303c8cf18e680256 (extended grep regex).