summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2007-12-07 23:20:27 +0100
committerGuido Guenther <agx@sigxcpu.org>2007-12-07 23:20:27 +0100
commitc6ad1ccdf752ea918d99fc2642a9d4424ca72be2 (patch)
treef3c4461e604cd6f16d7e56f89daf0484ed7bfce9
parentc3d1f05c1ee4a6113cf842f80389f0809cdd4949 (diff)
downloadgit-buildpackage-c6ad1ccdf752ea918d99fc2642a9d4424ca72be2.tar.gz
git-buildpackage-c6ad1ccdf752ea918d99fc2642a9d4424ca72be2.tar.bz2
git-buildpackage-c6ad1ccdf752ea918d99fc2642a9d4424ca72be2.zip
return non null on failure
-rwxr-xr-xgit-import-dsc5
1 files changed, 3 insertions, 2 deletions
diff --git a/git-import-dsc b/git-import-dsc
index 51ce56a8..37de62d7 100755
--- a/git-import-dsc
+++ b/git-import-dsc
@@ -226,8 +226,9 @@ def main(argv):
ret = 1
os.chdir(dirs['top'])
- if not ret:
- print 'Everything imported under %s' % src.pkg
+ if not ret:
+ print 'Everything imported under %s' % src.pkg
+ return ret
if __name__ == '__main__':
sys.exit(main(sys.argv))