From 4a72e71cd78806bdd6c36c6ab28ffac24615a163 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 19 Apr 2012 11:38:44 -0400 Subject: [PATCH] Fixup slurp module usage when not running as root, fix error handling path in slurp module. --- slurp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slurp b/slurp index 8b80e5da4b9..ab0c879db39 100755 --- a/slurp +++ b/slurp @@ -50,7 +50,7 @@ source = params['src'] if not os.path.exists(source): print json.dumps(dict( failed = 1, - msg = "file not found: %s" % metadata + msg = "file not found: %s" % source )) sys.exit(1)