Skip to content

Commit 846bd4d

Browse files
committed
address last sonarqube issue
1 parent 20fde42 commit 846bd4d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/probes/password/test_probes_password.xml.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ function getField {
7676
'login_shell' )
7777
echo "$line" | awk -F':' '{print $7}'
7878
;;
79+
* )
80+
echo "Unexpected field: $field_name" >&2
81+
return 1
82+
;;
7983
esac
8084
}
8185

0 commit comments

Comments
 (0)