Created
September 28, 2016 14:49
-
-
Save AlexanderS/6abb304e3bfbe870a275611d08758ec6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/lib/Bcfg2/Options/Parser.py b/src/lib/Bcfg2/Options/Parser.py | |
index b72a495..dd5087f 100644 | |
--- a/src/lib/Bcfg2/Options/Parser.py | |
+++ b/src/lib/Bcfg2/Options/Parser.py | |
@@ -302,7 +302,7 @@ class Parser(argparse.ArgumentParser): | |
# check whether the specified bcfg2.conf exists | |
if not self.unit_test and not os.path.exists(bootstrap.config): | |
- self.error("Could not read %s" % bootstrap.config) | |
+ sys.stderr.write("Could not read %s\n" % bootstrap.config) | |
self.add_config_file(self.configfile.dest, bootstrap.config, | |
reparse=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment