Skip to content
Snippets Groups Projects
Commit 97169db0 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

catch errors when calling bfaconfig with wrong parameters

parent b6eed83c
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ function geth_exec
function geth_rpc
{
bfaconfig nodedir
bfaconfig node
local cmd=$1
test -n "$cmd"
local params=
......@@ -240,6 +240,9 @@ function bfaconfig
account|max)
account
;;
*)
fatal "Unknown bfaconfig request"
;;
esac
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment