projects
/
xudo.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Better wording in a comment
[xudo.git]
/
xudo.sh
diff --git
a/xudo.sh
b/xudo.sh
index
17e54ed
..
7dc3b3f
100755
(executable)
--- 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" "$@"