Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Proper check if user is logged in
  • Loading branch information
alexesprit committed Nov 29, 2015
commit a60ed71883d1c393ee90a2c7cbffafddda8c1c19
2 changes: 1 addition & 1 deletion powershell/smack_my_bitch_up.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if ($DAYOFWEEK -eq 6 -or $DAYOFWEEK -eq 7) {
}

# Exit early if no sessions with my username are found
if ((QWINSTA $env:USERNAME | measure).Count -gt 0){
if (-not (QWINSTA | FINDSTR $env:USERNAME)) {
return
}

Expand Down