1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minidlna_ynh.git synced 2024-09-03 19:36:34 +02:00

Checks variables are not empty

This commit is contained in:
Maniack Crudelis 2016-06-04 23:56:31 +02:00
parent 0ae7e59552
commit 6e75427dde

View file

@ -15,6 +15,9 @@ else
app=minidlna
fi
# Checks variables are not empty
test -z "$version" && (echo "version not set" && touch /force_stop)
# Delete files and db if exit with an error
EXIT_PROPERLY () {