Tianon Gravi 10 năm trước cách đây
mục cha
commit
b3be23aa5b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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