Skip to content

Commit 5606672

Browse files
author
Maxime Orefice
committed
Update smack_my_bitch_up.rb
Correct exit session unless session with username is found
1 parent 61dbe67 commit 5606672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smack_my_bitch_up.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
exit if Time.now.saturday? || Time.now.sunday?
55

66
# Exit early if no sessions with my username are found
7-
exit if `who -q`.include? ENV['USER']
7+
exit unless `who -q`.include? ENV['USER']
88

99
require 'dotenv'
1010
require 'twilio-ruby'

0 commit comments

Comments
 (0)