From cbe02e1d5edbcfab1f99fe968c58e2e1db8e6f4e Mon Sep 17 00:00:00 2001
From: jerbia <jerbia@gmail.com>
Date: Mon, 15 Jan 2018 00:59:27 +0200
Subject: [PATCH] Fixed typo in entrypoint.sh (#86)

The entrypoint.sh had a typo where it tried coping files from "/kube-bench" instead of just "/".
---
 entrypoint.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/entrypoint.sh b/entrypoint.sh
index 4ccd821..ad28fbf 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -1,8 +1,8 @@
 #!/bin/sh
 if [ -d /host ]; then
   mkdir -p /host/cfg/
-  yes | cp -rf ./kube-bench/cfg/* /host/cfg/
-  yes | cp -rf ./kube-bench/kube-bench /host/
+  yes | cp -rf /cfg/* /host/cfg/
+  yes | cp -rf /kube-bench /host/
   echo "==============================================="
   echo "kube-bench is now installed on your host       "
   echo "Run ./kube-bench to perform a security check   "
-- 
GitLab