Skip to content

Commit 282b048

Browse files
author
Patrick Zbinden
committed
Fix dns_cyon to use correct regex
1 parent f39d066 commit 282b048

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dnsapi/dns_cyon.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,19 +332,19 @@ _cyon_get_response_message() {
332332
}
333333

334334
_cyon_get_response_status() {
335-
_egrep_o '"status":[a-zA-z0-9]*' | cut -d : -f 2
335+
_egrep_o '"status":[a-zA-Z0-9]*' | cut -d : -f 2
336336
}
337337

338338
_cyon_get_validation_status() {
339-
_egrep_o '"valid":[a-zA-z0-9]*' | cut -d : -f 2
339+
_egrep_o '"valid":[a-zA-Z0-9]*' | cut -d : -f 2
340340
}
341341

342342
_cyon_get_response_success() {
343343
_egrep_o '"onSuccess":"[^"]*"' | cut -d : -f 2 | tr -d '"'
344344
}
345345

346346
_cyon_get_environment_change_status() {
347-
_egrep_o '"authenticated":[a-zA-z0-9]*' | cut -d : -f 2
347+
_egrep_o '"authenticated":[a-zA-Z0-9]*' | cut -d : -f 2
348348
}
349349

350350
_cyon_check_if_2fa_missed() {

0 commit comments

Comments
 (0)