The success and failure return codes of infacmd command are
-
0 and 1
-
1 and 0
-
0 and -1
-
-1 and 0
C
Correct answer
Explanation
The infacmd command-line tool uses specific return codes to indicate execution results. A return code of 0 indicates successful completion. A return code of -1 indicates failure or error. This convention follows Unix-style exit codes where 0 means success and non-zero means error. Understanding these codes is essential for scripting and automation with infacmd.