]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: require SAMBA_CPS_ACCOUNT_NAME in checkpassword_arg1.sh
authorStefan Metzmacher <metze@samba.org>
Tue, 5 Feb 2019 15:15:15 +0000 (16:15 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 11 Feb 2019 06:43:32 +0000 (07:43 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/checkpassword_arg1.sh

index 8bb2aad972b19d650e6c98a6ddccf26c1d369a1d..42e1b5e7df5a88ce5a6330ab117c55d1fd6576b9 100755 (executable)
@@ -4,7 +4,7 @@
 set -e
 set -u
 
-ACCOUNT_NAME="${SAMBA_CPS_ACCOUNT_NAME-}"
+ACCOUNT_NAME="${SAMBA_CPS_ACCOUNT_NAME}"
 INVALIDPW="$1"
 NEWPW=`cat -`