mirror of
https://github.com/pivpn/pivpn.git
synced 2025-05-09 01:14:10 +02:00
Pass along exit code when running a sub-script, instead of always running exit 0
This commit is contained in:
parent
9131f2754a
commit
be692a8782
4 changed files with 22 additions and 22 deletions
|
@ -14,12 +14,12 @@ scriptDir="/opt/pivpn"
|
|||
|
||||
uninstallServer(){
|
||||
$SUDO ${scriptDir}/uninstall.sh
|
||||
exit 0
|
||||
exit "$?"
|
||||
}
|
||||
|
||||
backup(){
|
||||
$SUDO ${scriptDir}/backup.sh
|
||||
exit 0
|
||||
exit "$?"
|
||||
}
|
||||
|
||||
showHelp(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue