[icinga-checkins] icinga.org: icinga2/next: Fix arguments for tar

git at icinga.org git at icinga.org
Fri Jun 27 13:44:28 CEST 2014


Module: icinga2
Branch: next
Commit: 99b590ab953ec64992fab505f1661531cf1f97ff
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=99b590ab953ec64992fab505f1661531cf1f97ff

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri Jun 27 13:44:00 2014 +0200

Fix arguments for tar

refs #6526

---

 contrib/icinga2-setup-agent.cmake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/icinga2-setup-agent.cmake b/contrib/icinga2-setup-agent.cmake
index 08a6adb..3e4c889 100644
--- a/contrib/icinga2-setup-agent.cmake
+++ b/contrib/icinga2-setup-agent.cmake
@@ -18,7 +18,7 @@ if [ -n "$1" ]; then
 		exit 1
 	fi
 
-	if ! base64 -i -d $1 | tar ztf >/dev/null 2>&1; then
+	if ! base64 -i -d $1 | tar zt >/dev/null 2>&1; then
 		echo "The bundle file is invalid or corrupted."
 		exit 1
 	fi



More information about the icinga-checkins mailing list