kpatch/kpatch-build/kpatch.h
Joe Lawrence 1f4551a49e kpatch-build: add exit status enum
Convert magic exit status values into a common enum for clarity.

Suggested-by: Artem Savkov <asavkov@redhat.com>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
2018-06-15 07:11:48 -04:00

12 lines
197 B
C

#ifndef _KPATCH_H_
#define _KPATCH_H_
enum exit_status {
EXIT_STATUS_SUCCESS = 0,
EXIT_STATUS_ERROR = 1,
EXIT_STATUS_DIFF_FATAL = 2,
EXIT_STATUS_NO_CHANGE = 3,
};
#endif /* _KPATCH_H_ */