diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2009-12-22 12:21:17 -0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2009-12-22 12:21:17 -0200 |
commit | 789eacb05d600b52892cea56da0315d68194fafb (patch) | |
tree | 8d4984770db68682f4ee70e40a4647f0c0b17d58 /scripts | |
parent | added ^C handles and small fixes (diff) | |
download | g-octave-789eacb05d600b52892cea56da0315d68194fafb.tar.gz g-octave-789eacb05d600b52892cea56da0315d68194fafb.tar.bz2 g-octave-789eacb05d600b52892cea56da0315d68194fafb.zip |
fixed wrong exit codes
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/g-octave | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/g-octave b/scripts/g-octave index 244b5a8..05d0f43 100755 --- a/scripts/g-octave +++ b/scripts/g-octave @@ -163,7 +163,7 @@ def main(): for pkg in tree.pkg_list[category]: print '\t%s-%s' % (pkg['name'], pkg['version']) print - sys,exit(1) + sys,exit(0) elif len(args) == 0: print >> sys.stderr, light_red('Error:'), white("""\ You need provide an atom "name", "name-version", or the option "--list" """) @@ -194,7 +194,7 @@ can install only one package at once and his dependencies.""") print light_blue('Categories:'), white(pkg.categories) print light_blue('License:'), white(pkg.license) print light_blue('Url:'), white(pkg.url) - sys.exit(1) + sys.exit(0) if options.verbose: print white('>>> Creating the ebuilds to install:'), light_blue(args[0]) |