mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-22 15:20:11 +00:00
Fix for #1234 & CI/CD Fine-tunning
Changed Exit code from 1 to 0 Added some more checks Changed order some checks are done
This commit is contained in:
parent
0f7da9e690
commit
bccaa1bbee
2 changed files with 7 additions and 4 deletions
|
@ -6,7 +6,7 @@ CONF_FILE="/etc/wireguard/wg0.conf"
|
|||
|
||||
if [ ! -s "$CLIENTS_FILE" ]; then
|
||||
echo "::: There are no clients to list"
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
||||
|
||||
scriptusage(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue