1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00

[enh] fix errors reported by linter.

This commit is contained in:
Moul 2017-02-21 14:51:22 +01:00
parent 08952ca781
commit cdf593c0b0
2 changed files with 4 additions and 1 deletions

View file

@ -24,7 +24,7 @@ sudo yunohost app checkurl "${domain}${path}" -a "$app" \
# Check port availability
sudo yunohost app checkport $port
if [[ ! $? -eq 0 ]]; then
exit 1
ynh_die "Port not available: ${port}"
fi
# Check node availability

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Exit and treat unset variables as an error
set -u
# Source app helpers
source /usr/share/yunohost/helpers