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