Commit 0c768905 authored by Jesai Langenbach's avatar Jesai Langenbach
Browse files

whitespace fix

parent 18fc42e6
...@@ -125,7 +125,7 @@ rm_record() { ...@@ -125,7 +125,7 @@ rm_record() {
_info "Record not found, nothing to remove" _info "Record not found, nothing to remove"
fi fi
return 0 return 0
} }
#################### Private functions below ################################## #################### Private functions below ##################################
...@@ -232,7 +232,7 @@ _opns_check_auth() { ...@@ -232,7 +232,7 @@ _opns_check_auth() {
_saveaccountconf_mutable OPNs_Host "$OPNs_Host" _saveaccountconf_mutable OPNs_Host "$OPNs_Host"
fi fi
if ! printf '%s' "$OPNs_Port" | grep '^[0-9]*$' >/dev/null ; then if ! printf '%s' "$OPNs_Port" | grep '^[0-9]*$' >/dev/null; then
_err 'OPNs_Port specified but not numeric value' _err 'OPNs_Port specified but not numeric value'
return 1 return 1
elif [ -z "$OPNs_Port" ]; then elif [ -z "$OPNs_Port" ]; then
...@@ -241,7 +241,7 @@ _opns_check_auth() { ...@@ -241,7 +241,7 @@ _opns_check_auth() {
_saveaccountconf_mutable OPNs_Port "$OPNs_Port" _saveaccountconf_mutable OPNs_Port "$OPNs_Port"
fi fi
if ! printf '%s' "$OPNs_Api_Insecure" | grep '^[01]$' >/dev/null ; then if ! printf '%s' "$OPNs_Api_Insecure" | grep '^[01]$' >/dev/null; then
_err 'OPNs_Api_Insecure specified but not 0/1 value' _err 'OPNs_Api_Insecure specified but not 0/1 value'
return 1 return 1
elif [ -n "$OPNs_Api_Insecure" ]; then elif [ -n "$OPNs_Api_Insecure" ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment