mirror of
https://github.com/narkoz/hacker-scripts
synced 2025-08-23 02:47:14 +00:00
commit
c90b34c5c5
@ -8,7 +8,7 @@ if [ "$DAYOFWEEK" -eq 6 ] || [ "$DAYOFWEEK" -eq 7 ]; then
|
||||
fi
|
||||
|
||||
# Exit early if any session with my_username is found
|
||||
if who | grep -wq 'my_username'; then
|
||||
if who | grep -wq $USER; then
|
||||
exit
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user