Recommend sudo -H

This commit is contained in:
Alexander Grothe 2017-12-16 18:02:33 +01:00
parent 048ae4e5d4
commit 3708289de7
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ sudo ./install-yavdr.sh
** Install script for local usage
#+BEGIN_SRC shell :tangle install-yavdr.sh :shebang "#!/bin/bash"
if (( $EUID != 0 )); then
echo "This script must be run using sudo or as root"
echo "This script must be run using sudo -H or as root"
exit
fi

View File

@ -1,6 +1,6 @@
#!/bin/bash
if (( $EUID != 0 )); then
echo "This script must be run using sudo or as root"
echo "This script must be run using sudo -H or as root"
exit
fi