X-Git-Url: https://git.ao2.it/xudo.git/blobdiff_plain/93079ceb2692a98e37faf6d6e83caac384505eb9..eaed0fbc27dcba6de96937f2443366ac879309c5:/xudo.sh diff --git a/xudo.sh b/xudo.sh index 17e54ed..7dc3b3f 100755 --- a/xudo.sh +++ b/xudo.sh @@ -74,5 +74,5 @@ id $USERNAME > /dev/null || { echo "Invalid user." 1>&2; exit 1; } xauth extract - $DISPLAY | sudo -u "$USERNAME" xauth merge - # Execute the command. -# NOTE: -i or -s have to be passed in order to open a shell +# NOTE: -i or -s can be passed in order to open a shell sudo DISPLAY="$DISPLAY" -u "$USERNAME" "$@"