diff --git a/ADconnection.sh b/ADconnection.sh index 95bea2c..ae7f13e 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -2075,7 +2075,7 @@ while test $# -gt 0; do fi ;; -p|--p) - if test $? -gt 0; then + if test $# -gt 0; then encrypt else echo ""