abort alternc.install on failures so we can handle them better
This commit is contained in:
parent
0afe53f8a6
commit
4ccc9c6a91
|
@ -22,6 +22,8 @@
|
||||||
# Purpose of file: Main install script, launch it anytime ;)
|
# Purpose of file: Main install script, launch it anytime ;)
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Somes check before start operations
|
# Somes check before start operations
|
||||||
if [ `id -u` -ne 0 ]; then
|
if [ `id -u` -ne 0 ]; then
|
||||||
echo "must be launched as root"
|
echo "must be launched as root"
|
||||||
|
|
Loading…
Reference in New Issue