Tianon Gravi 10 년 전
부모
커밋
b3be23aa5b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      test/tests/no-hard-coded-passwords/run.sh

+ 1 - 1
test/tests/no-hard-coded-passwords/run.sh

@@ -27,7 +27,7 @@ ret=0
 for user in "${!passwds[@]}"; do
 	pass="${passwds[$user]}"
 
-	if [ -z "$pass" -o "$pass" = '*' ]; then
+	if [ -z "$pass" -o '*' = "$pass" ]; then
 		# '*' and '' mean no password
 		continue
 	fi