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
1 changed files with 2 additions and 0 deletions

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