mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 16:06:47 +00:00
Stop edge installer on error
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
parent
bd0e1d7718
commit
c2b802cbf9
@ -1,5 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e # stop on error
|
||||
set -o pipefail
|
||||
|
||||
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
echo "Please run as root or with sudo"
|
||||
exit
|
||||
|
Loading…
x
Reference in New Issue
Block a user