Error handling

The onpladm commands have two return values:
0
If the command is successful, a success message appears.
-1
If the command fails, an error message appears.