summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-21 06:08:57 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-21 06:08:57 +0000
commit0c4d85c13dae7e8f83c10fa0ebfc51bfb48d0782 (patch)
tree86225c0118bd1d31d307ab573811a528bc993189
parent0c5350b07bb2b7e09d08c28d834fd094bd1fbdbb (diff)
downloadportage-0c4d85c13dae7e8f83c10fa0ebfc51bfb48d0782.tar.gz
portage-0c4d85c13dae7e8f83c10fa0ebfc51bfb48d0782.tar.bz2
portage-0c4d85c13dae7e8f83c10fa0ebfc51bfb48d0782.zip
Exit unsuccessfully when in commit mode and nothing is found to commit. Thanks
to Jeremy Olexa <darkside@g.o> for the suggestion. svn path=/main/trunk/; revision=13379
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 9d1185746..95a05119a 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1900,7 +1900,7 @@ else:
print
print "(Didn't find any changed files...)"
print
- sys.exit(0)
+ sys.exit(1)
# Manifests need to be regenerated after all other commits, so don't commit
# them now even if they have changed.