Skip to content

LoggedInUser variable defined twice #41

@BrandonESexton

Description

@BrandonESexton
  • Script version 1.7.1

Lines 56 and 164 are duplicates which probably would throw anyone else off but I have a special workflow for our IT Ops team who are pre-provisioning computers for the end user. This workflow hinges on If/Then statements based on the $loggedInUser value.

loggedInUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' )

Thank you for an amazing tool!
Brandon Sexton

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions