opentechinstitute / commotiond

The system management daemon for the Commotion Wireless Project.
https://commotionwireless.net
GNU Affero General Public License v3.0
26 stars 21 forks source link

Correct error checking for # of parameters to 'get' command. #93

Closed jheretic closed 10 years ago

jheretic commented 10 years ago

Corrects #78. Providing an insufficient number of parameters to the 'get' command no longer causes it to crash.

To test, run just 'get TEST' where 'TEST' is the name of a profile. You should get an 'invalid parameters' error and the daemon should not crash.

gradyoti commented 10 years ago

TESTED!