atrepca / dynect4r

Ruby library and command line client for the Dynect REST API
Other
15 stars 5 forks source link

another update to improve scriptability #2

Closed bmwiedemann closed 13 years ago

bmwiedemann commented 13 years ago

have distinct non-zero exit codes for all errors

this re-uses the "errors" variable as bitmask to produce arbitrary but unique exit codes for different types of errors

this patch makes a difference when permissions such as ZonePublish, RecordAdd or ZoneAddNode are Denied.