Update hangover.sh

This commit is contained in:
Thomas Hood 2015-12-04 17:17:00 +00:00
parent 41caa1f6ff
commit ac6ad840b6

View File

@ -1,5 +1,8 @@
#!/bin/sh -e
# Get User
USER=whoami
# Exit early if any session with my username is found
if who | grep -wq $USER; then
exit