-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoggedInUser variable defined twice #41
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: