summaryrefslogtreecommitdiff
path: root/src/commit2.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-19 15:30:34 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-19 15:30:34 -0800
commit39b7704d70df29cbd0a7a50eb851d7c5fb3afe2b (patch)
treebde7c891e513069b097fc1379752ad020a51aa9a /src/commit2.c
parent4ab2de09d4a5985fb1dd3cb59908934a64ae7571 (diff)
parent9ed305de8fc62e8ee17627f85e7d3efc82719b78 (diff)
downloadvyatta-cfg-39b7704d70df29cbd0a7a50eb851d7c5fb3afe2b.tar.gz
vyatta-cfg-39b7704d70df29cbd0a7a50eb851d7c5fb3afe2b.zip
Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg into mendocino
Diffstat (limited to 'src/commit2.c')
-rw-r--r--src/commit2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit2.c b/src/commit2.c
index e1119b4..aeb9ce7 100644
--- a/src/commit2.c
+++ b/src/commit2.c
@@ -401,7 +401,7 @@ main(int argc, char** argv)
//remove tmp changes file as all the work is now done
unlink(COMMIT_CHANGES_FILE);
- exit (errors == 2);
+ exit (errors == 2 ? 0 : 1);
}