mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-29 13:02:35 +02:00
btcpay: exit 1 if cd fails
This commit is contained in:
@@ -353,7 +353,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
cd /home/btcpay || exit 1
|
cd /home/btcpay || exit 1
|
||||||
echo "# Download the NBXplorer source code ..."
|
echo "# Download the NBXplorer source code ..."
|
||||||
sudo -u btcpay git clone https://github.com/dgarage/NBXplorer.git 2>/dev/null
|
sudo -u btcpay git clone https://github.com/dgarage/NBXplorer.git 2>/dev/null
|
||||||
cd NBXplorer
|
cd NBXplorer || exit 1
|
||||||
sudo -u btcpay git reset --hard $NBXplorerVersion
|
sudo -u btcpay git reset --hard $NBXplorerVersion
|
||||||
echo "# Build NBXplorer ..."
|
echo "# Build NBXplorer ..."
|
||||||
# from the build.sh with path
|
# from the build.sh with path
|
||||||
|
Reference in New Issue
Block a user