We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87da07c + 934e4de commit c90b34cCopy full SHA for c90b34c
hangover.sh
@@ -8,7 +8,7 @@ if [ "$DAYOFWEEK" -eq 6 ] || [ "$DAYOFWEEK" -eq 7 ]; then
8
fi
9
10
# Exit early if any session with my_username is found
11
-if who | grep -wq 'my_username'; then
+if who | grep -wq $USER; then
12
exit
13
14
0 commit comments