mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-09 08:26: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
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e # stop on error
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]; then
|
if [ "$EUID" -ne 0 ]; then
|
||||||
echo "Please run as root or with sudo"
|
echo "Please run as root or with sudo"
|
||||||
exit
|
exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user