summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-07 10:18:13 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-07 10:49:51 +0200
commit7e3f4c3d7996811a37393514d6f0eaacae7178e2 (patch)
tree976fecbf4d5fa82e5df05f418098ba8e653679ca /src/commit.c
parent8d1ec4c5bc031da9e2441a63df965757d74d5c33 (diff)
downloadapk-tools-7e3f4c3d7996811a37393514d6f0eaacae7178e2.tar.gz
apk-tools-7e3f4c3d7996811a37393514d6f0eaacae7178e2.tar.bz2
apk-tools-7e3f4c3d7996811a37393514d6f0eaacae7178e2.tar.xz
apk-tools-7e3f4c3d7996811a37393514d6f0eaacae7178e2.zip
commit: return failure if there are any errors
fixes #4019
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c
index 5b47d9e..4b9ea11 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -329,7 +329,7 @@ all_done:
}
}
- return 0;
+ return errors;
}
enum {