machines: aramis: install: exit on error
This commit is contained in:
parent
f2b9040175
commit
a03db294fe
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "This script must be run as root" >&2
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue