mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
remove root user check
This commit is contained in:
parent
f91913a071
commit
d3ff5de077
1 changed files with 0 additions and 6 deletions
|
@ -29,12 +29,6 @@ while [ $# -gt 0 ]; do
|
|||
shift
|
||||
done
|
||||
|
||||
### check for root
|
||||
if ! [[ ${UID} -eq 0 ]]; then
|
||||
echo "ERROR: Please run as root user!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z "${NAME}" ]]; then
|
||||
echo "ERROR: no name specified"
|
||||
usage
|
||||
|
|
Loading…
Reference in a new issue