mirror of
https://github.com/ben-grande/qusal.git
synced 2025-05-02 14:26:21 -04:00
fix: shell syntax typos
This commit is contained in:
parent
04d1aaf63e
commit
cf432651b3
2 changed files with 9 additions and 8 deletions
|
@ -7,7 +7,7 @@
|
|||
set -eu
|
||||
|
||||
# shellcheck disable=3028
|
||||
hostname="$(hostname)}"
|
||||
hostname="$(hostname)"
|
||||
test "${hostname}" = "dom0" || { echo "Must be run from dom0" >&2; exit 1; }
|
||||
uid="$(id -u)"
|
||||
test "${uid}" = "0" || exec sudo "${0}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue