X-Git-Url: https://git.ao2.it/xudo.git/blobdiff_plain/54d5c7681933852c16f6b38a5fa48d532615b242..93079ceb2692a98e37faf6d6e83caac384505eb9:/xudo.sh diff --git a/xudo.sh b/xudo.sh index 981bcfd..17e54ed 100755 --- a/xudo.sh +++ b/xudo.sh @@ -70,7 +70,7 @@ id $USERNAME > /dev/null || { echo "Invalid user." 1>&2; exit 1; } [ "x$@" != "x" ] || { usage 1>&2; exit 1; } -# Authorize the user +# Authorize the user. xauth extract - $DISPLAY | sudo -u "$USERNAME" xauth merge - # Execute the command.