Recommend sudo -H
This commit is contained in:
parent
048ae4e5d4
commit
3708289de7
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user