Mercurial > gcp
diff gcp @ 58:58091eac8c8e
exit status updated and shown in manpage
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 20 Jun 2011 12:57:15 +0200 |
parents | cce259fe3f35 |
children | 7830d4244fb5 |
line wrap: on
line diff
--- a/gcp Mon Jun 20 02:59:28 2011 +0200 +++ b/gcp Mon Jun 20 12:57:15 2011 +0200 @@ -43,7 +43,7 @@ except ImportError,e: error(_("Error during import")) error(_("Please check dependecies:"),e) - exit(2) + exit(1) try: from progressbar import ProgressBar, Percentage, Bar, ETA, FileTransferSpeed pbar_available=True @@ -622,7 +622,7 @@ error (_("Invalide --preserve value\nvalid values are:")) for value in const_PRESERVE: error('- %s' % value) - exit(2) + exit(1) else: options.preserve = preserve