sudo-fix
This commit is contained in:
parent
d1d37a7669
commit
66539f9983
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ set -ex
|
||||||
|
|
||||||
if [[ $EUID -ne 0 ]]; then
|
if [[ $EUID -ne 0 ]]; then
|
||||||
echo "This script must be run as root" 1>&2
|
echo "This script must be run as root" 1>&2
|
||||||
sudo $0
|
sudo $0 $1 $2 $3 $4
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue