1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Fix $1 variable

This commit is contained in:
Josué Tille 2019-01-13 15:54:33 +01:00
parent 1fea4e5c83
commit 5b8c152684
No known key found for this signature in database
GPG key ID: D5E068C6DFA8681D

View file

@ -28,7 +28,7 @@ deactivate () {
fi
unset VIRTUAL_ENV
if [ ! "$1" = "nondestructive" ] ; then
if [ ! "${1:-}" = "nondestructive" ] ; then
# Self destruct!
unset -f deactivate
fi