Merge branch 'master' of https://github.com/simono41/shell-scripte
This commit is contained in:
commit
b99cb6e385
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 $1 $2 $3 $4
|
sudo "$0" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue