Update hangover.sh
This commit is contained in:
parent
41caa1f6ff
commit
ac6ad840b6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue