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:
parent
1fea4e5c83
commit
5b8c152684
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ deactivate () {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unset VIRTUAL_ENV
|
unset VIRTUAL_ENV
|
||||||
if [ ! "$1" = "nondestructive" ] ; then
|
if [ ! "${1:-}" = "nondestructive" ] ; then
|
||||||
# Self destruct!
|
# Self destruct!
|
||||||
unset -f deactivate
|
unset -f deactivate
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue