machines: aramis: install: exit on error

This commit is contained in:
Bruno BELANYI 2021-05-04 19:16:47 +02:00
parent ed1539ae29
commit 8755d84b21

View file

@ -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