scylla-jmx: Exit on unknown parameter rather than infinite-loop
Ran into this while trying to use ccm with not up-to-date scylla-jmx. Symptoms: $ ccm start Error starting node node1 and empty ~/.ccm/scylla-3/node1/logs/system.log.jmx Message-Id: <1468399926-3565-1-git-send-email-tgrabiec@scylladb.com>
This commit is contained in:
parent
4672cd360f
commit
27e3d1745a
@ -82,6 +82,9 @@ do
|
|||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
echo "Unknown parameter: $1"
|
||||||
|
print_help
|
||||||
|
exit 1
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user