summaryrefslogtreecommitdiff
path: root/src/vyos-errors.h
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2020-02-11 16:17:02 +0100
committerDaniil Baturin <daniil@baturin.org>2020-02-11 16:17:02 +0100
commit4592ae65d42e5d8eba77350f8339e07350ad0908 (patch)
treeffb64d49ef778ef4537ab8a320f422276b3a9089 /src/vyos-errors.h
parent72d0243f10e4df7c2fb7ce35c3d7f333e83bab97 (diff)
downloadvyatta-cfg-4592ae65d42e5d8eba77350f8339e07350ad0908.tar.gz
vyatta-cfg-4592ae65d42e5d8eba77350f8339e07350ad0908.zip
T2026: use unique exit codes for commit errors.
Diffstat (limited to 'src/vyos-errors.h')
-rw-r--r--src/vyos-errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vyos-errors.h b/src/vyos-errors.h
index 4ac9f57..b607659 100644
--- a/src/vyos-errors.h
+++ b/src/vyos-errors.h
@@ -3,3 +3,5 @@
#define VYOS_INVALID_PATH 2
#define VYOS_EMPTY_CONFIG 3
#define VYOS_CONFIG_PARSE_ERROR 4
+#define VYOS_COMMIT_FAILURE 5
+#define VYOS_PARTIAL_COMMIT 6