Typo fix for find command.
Change-Id: I6250eeb0085382303ebeaa43cce36244c08e4d21
diff --git a/test-salt-formulas-env.groovy b/test-salt-formulas-env.groovy
index 1759707..486bd3a 100644
--- a/test-salt-formulas-env.groovy
+++ b/test-salt-formulas-env.groovy
@@ -112,7 +112,7 @@
} catch (Throwable e) {
// If there was an error or exception thrown, the build failed
currentBuild.result = "FAILURE"
- sh(script: 'find .kitchen/logs/ iname "*.log" | xargs -I{} bash -c "echo {}; cat {}"')
+ sh(script: 'find .kitchen/logs/ -type f -iname "*.log" | xargs -I{} bash -c "echo {}; cat {}"')
ruby.runKitchenCommand("destroy", cleanEnv)
throw e
} finally {