summaryrefslogtreecommitdiffstats
path: root/Lib/venv/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/venv/scripts')
-rw-r--r--Lib/venv/scripts/common/activate2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/venv/scripts/common/activate b/Lib/venv/scripts/common/activate
index 6a2320a..b1b4625 100644
--- a/Lib/venv/scripts/common/activate
+++ b/Lib/venv/scripts/common/activate
@@ -28,7 +28,7 @@ deactivate () {
fi
unset VIRTUAL_ENV
- if [ ! "$1" = "nondestructive" ] ; then
+ if [ ! "${1:-}" = "nondestructive" ] ; then
# Self destruct!
unset -f deactivate
fi