From a343765fb70741093442afefd21a24b77acef588 Mon Sep 17 00:00:00 2001 From: Charles Oliveira <18oliveira.charles@gmail.com> Date: Thu, 31 Jul 2014 17:44:49 -0300 Subject: [PATCH] Removed return 0 at end of main --- puppet/bootstrap.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/puppet/bootstrap.py b/puppet/bootstrap.py index 88e24c5..b7d32fd 100644 --- a/puppet/bootstrap.py +++ b/puppet/bootstrap.py @@ -151,7 +151,7 @@ def main(): result = subprocess.call(install) if result != 0: print('Failed installing puppet') - return result + exit(result) if os.path.isfile('/vagrant/puppet/hiera.yaml'): copyfile('/vagrant/puppet/hiera.yaml', '/etc/puppet/hiera.yaml') @@ -159,7 +159,6 @@ def main(): locale.setlocale(locale.LC_ALL, '') install_puppet_modules() - return 0 if __name__ == '__main__': -- libgit2 0.21.2