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:
parent
0ae7e59552
commit
6e75427dde
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ else
|
||||||
app=minidlna
|
app=minidlna
|
||||||
fi
|
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
|
# Delete files and db if exit with an error
|
||||||
EXIT_PROPERLY () {
|
EXIT_PROPERLY () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue