hangover: same grep stuff
This commit is contained in:
parent
0b066446d6
commit
dff194577e
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
# Exit early if any session with my username is found
|
||||
if who | grep -wq "^$USER"; then
|
||||
if who -q | grep -wqF "$USER"; then
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue