Commit f665c73b authored by Lorenz Stechauner's avatar Lorenz Stechauner
Browse files

World4You fixed return value

parent 3c309df6
......@@ -56,7 +56,7 @@ AddDnsRecordForm[uniqueFormIdTTL]=$formidttl&AddDnsRecordForm[_token]=$form_toke
return 0
else
_err "$(_head_n 1 <"$HTTP_HEADER")"
return 2
return 1
fi
}
......@@ -108,7 +108,7 @@ DeleteDnsRecordForm[_token]=$form_token"
return 0
else
_err "$(_head_n 1 <"$HTTP_HEADER")"
return 2
return 1
fi
}
......@@ -125,7 +125,7 @@ _login() {
_err "You didn't specify world4you username and password yet."
_err "Usage: export WORLD4YOU_USERNAME=<name>"
_err "Usage: export WORLD4YOU_PASSWORD=<password>"
return 2
return 1
fi
_saveaccountconf_mutable WORLD4YOU_USERNAME "$WORLD4YOU_USERNAME"
......
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