mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 11:30:28 +00:00
don't exit install script on err
This commit is contained in:
parent
d13e31ef18
commit
fb36c6ae6c
@ -4,12 +4,11 @@
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Defaults
|
||||
set -e # Exit on error
|
||||
SERVER_PORT="9000" # Port for Fathom server
|
||||
|
||||
# Check if running as root
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then echo "Please run the Fathom installer as root (to install the necessary NGINX & systemd files)"
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
echo "Please run the Fathom installer as root (to install the necessary NGINX & systemd files)"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user