This commit is contained in:
Geoffrey Frogeye 2017-09-17 14:34:37 +00:00
parent 96751acaab
commit eeb061a032
4 changed files with 167 additions and 1 deletions

View file

@ -3,4 +3,9 @@
# Substitution for sudo
#
echo "$@" | tsu
if [ "$(whoami)" != 'root' ]
then
echo "$@" | tsu
else
"$@"
fi