Update dockutil-labels-user.sh

This commit is contained in:
Michael
2023-02-06 13:28:05 +00:00
committed by GitHub
parent 0c18e78fe7
commit c02576d65f

View File

@@ -1,4 +1,5 @@
DEPLOG=/var/tmp/depnotify.log
echo *** DOCKUTIL LABELS AS USER ***
currentUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' )
uid=$(id -u "$currentUser")